jdcloud-bds / bds-etc Goto Github PK
View Code? Open in Web Editor NEWSynchronize blockchain data to message queue
Home Page: https://bds.jdcloud.com/
License: Apache License 2.0
Synchronize blockchain data to message queue
Home Page: https://bds.jdcloud.com/
License: Apache License 2.0
In the default README.md file, add chinese readme link #4
Geth | Kafka | Go |
---|---|---|
... | 2.1.1 | 1.12.7 |
我是在docker里运行的kafka,然后配置的是9092端口
version: '2'
services:
zookeeper:
image: wurstmeister/zookeeper
ports:
- "2181:2181"
kafka:
image: wurstmeister/kafka
depends_on: [ zookeeper ]
ports:
- "9092:9092"
environment:
KAFKA_ADVERTISED_HOST_NAME: 192.168.18.129
KAFKA_CREATE_TOPICS: "test:1:1"
KAFKA_BROKER_ID: 1
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
volumes:
- /data/product/zj_bigdata/data/kafka/docker.sock:/var/run/docker.sock
我是这样设置的参数,将eth的区块节点数据发送到kafka
geth --datadir ./chaindata/ --rpcapi admin,db,eth,debug,miner,net,shh,txpool,personal,web3 --cache 100 --rpc --rpccorsdomain --kafka.endpoint "http://localhost:9092"
提示参数配置错误:
invalid command: "url=http://localhost:9092"
我应该怎么配置kafka的参数才能发送成功到kafka中去呢
省略后面自定义的url能同步成功吗,怎么验证
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.