docker-compose-files/hyperledger/1.0/kafka
qiang0723 5cafc938a1 Syn the usage of kafka from latest e2e_cli 2017-08-22 16:42:29 +00:00
..
channel-artifacts Enable orderer-kafka 2017-07-06 11:31:04 +08:00
crypto-config Enable orderer-kafka 2017-07-06 11:31:04 +08:00
README.md Syn the usage of kafka from latest e2e_cli 2017-08-22 16:42:29 +00:00
configtx.yaml Enable orderer-kafka 2017-07-06 11:31:04 +08:00
crypto-config.yaml Enable orderer-kafka 2017-07-06 11:31:04 +08:00
docker-compose-base.yaml Enable orderer-kafka 2017-07-06 11:31:04 +08:00
orderer-base.yaml Syn the usage of kafka from latest e2e_cli 2017-08-22 16:29:25 +00:00
orderer-kafka-base.yaml Enable orderer-kafka 2017-07-06 11:31:04 +08:00
orderer-kafka.yaml Syn the usage of kafka from latest e2e_cli 2017-08-22 16:29:25 +00:00
peer-base.yaml Fix bugs 2017-07-06 11:43:46 +08:00

README.md

[WIP]

Start a network base on kafka

$ cd ~/docker-compose-files/tree/master/hyperledger/1.0/kafka
$ docker-compose -f orderer-kafka.yaml up (-d)

When the fabric-network fully started, it takes about 15-20s.

Test chaincode

$ docker exec -it fabric-cli bash
$ bash ./scripts/initialize.sh # initialize the fabric network
$ bash ./scripts/test_4peers.sh

(Optional) If you want to use official images, you can run the following command first

$ cd ~/docker-compose-files/tree/master/hyperledger/1.0
$ bash ./scripts/download_official_images.sh