will-hu-0 / fabric-sample-with-kafka Goto Github PK
View Code? Open in Web Editor NEWFabric sample with kafka orderer type
License: Apache License 2.0
Fabric sample with kafka orderer type
License: Apache License 2.0
Hello, I'm doing research on blockchain right now, and I want to try your code to understand kafka implementation, but i'm confused with the output, my current research is giving this output as well unless i changed the OrdererType under &OrdererDefaults to kafka manually. Look at INFO 002, it gives feedback orderer type:kafka, but on INFO 004 it gives feedback orderer type:solo, because the OrdererType under &OrdererDefault is solo. Is it just some bug from fabric, or does this will give issues later?
##########################################################
######### Generating Orderer Genesis block ##############
##########################################################
CONSENSUS_TYPE=kafka
+ '[' kafka == solo ']'
+ '[' kafka == kafka ']'
+ configtxgen -profile SampleDevModeKafka -channelID byfn-sys-channel -outputBlock ./channel-artifacts/genesis.block
2020-07-06 03:24:19.428 WIB [common.tools.configtxgen] main -> INFO 001 Loading configuration
2020-07-06 03:24:19.521 WIB [common.tools.configtxgen.localconfig] completeInitialization -> INFO 002 orderer type: kafka
2020-07-06 03:24:19.521 WIB [common.tools.configtxgen.localconfig] Load -> INFO 003 Loaded configuration: /Users/***/Downloads/fabric-sample-with-kafka-master/first-network/configtx.yaml
2020-07-06 03:24:19.611 WIB [common.tools.configtxgen.localconfig] completeInitialization -> INFO 004 orderer type: solo
2020-07-06 03:24:19.611 WIB [common.tools.configtxgen.localconfig] LoadTopLevel -> INFO 005 Loaded configuration: /Users/***/Downloads/fabric-sample-with-kafka-master/first-network/configtx.yaml
2020-07-06 03:24:19.616 WIB [common.tools.configtxgen] doOutputBlock -> INFO 006 Generating genesis block
2020-07-06 03:24:19.617 WIB [common.tools.configtxgen] doOutputBlock -> INFO 007 Writing genesis block
Error: Got unexpected status: SERVICE_UNAVAILABLE
Even after increasing CLI_TIMEOUT and CLI_DELAY to 100, the error occurs
I am testing somethings with kafka netwokr.
Is there a way i can add and delete a specific kafka node ?
I had Service_Unavailble error on the first run but after I increase timeout and delay I can run it successfully. So you might want to update Readme.md with this information.
./byfn.sh up -t 30 -d 10
I have some issues on setting up,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.