Code Monkey home page Code Monkey logo

fabric-sample-with-kafka's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fabric-sample-with-kafka's Issues

Orderer Type is different

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

./byfn.sh up throws error

Error: Got unexpected status: SERVICE_UNAVAILABLE
Even after increasing CLI_TIMEOUT and CLI_DELAY to 100, the error occurs

Fixing Service_Unavailble

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

./byfn.sh up SERVICE_UNAVAILABLE error

Hello,

I downloaded and tried to run your code without any changes but when I ran the command to execute the E2E test it gave me an error of SERVICE_UNAVAILABLE:

screenshot 33

Do you know how can I solve this?
Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.