Why do I require fabric-kafka and fabric-order containers in same network

0 votes
I have read the following doc to understand the Ordering Service: https://github.com/hyperledger/fabric/blob/master/orderer/README.md

What I don't understand is why fabric-kafka and fabric-orderer docker images are present in the network. Please explain.
Dec 6, 2018 in Blockchain by Christine
• 15,790 points

1 answer to this question.

0 votes

There are three ordering services, as you might have already read in the doc - 

  • 1. SOLO 
  • 2. Kafka-based 
  • 3. PBFT (pending)
The orderer interfaces are implemented in the orderer executable which is packaged as the fabric-orderer Docker image. So there are two configuration modes for the orderer - SOLO is a standalone process orderer for usage during development and testing. And Kafka-based service leverages Kafka as the "consensus" mechanism to make multiple orderer processes crash fault tolerant and order transactions. In this case, multiple orderer processes communicate with a Kafka cluster which ensures that each orderer process receives transactions and generates blocks in the same order. The orderer process (or fabric-orderer containers) communicate with a Kafka cluster.
Hope this helps :)
answered Dec 6, 2018 by Perry
• 17,100 points

Related Questions In Blockchain

+4 votes
2 answers

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

answered Oct 11, 2018 in Blockchain by Sahu
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,790 points
+16 votes
4 answers
+1 vote
1 answer
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP