blockchain-etl / ethereum-etl

Python scripts for ETL (extract, transform and load) jobs for Ethereum blocks, transactions, ERC20 / ERC721 tokens, transfers, receipts, logs, contracts, internal transactions. Data is available in Google BigQuery https://goo.gl/oY5BCQ
https://t.me/BlockchainETL
MIT License
2.94k stars 841 forks source link

Add topic prefix to kafka #369

Open FeSens opened 2 years ago

FeSens commented 2 years ago

When exporting to Kafka, you may want to add a topic prefix similarly to google pub/sub when using multiple blockchains. This PR allows for prefixes in the --output Kafka/<broker_url>:<port>/<optional: prefix> command.