Skip to content

Commit dc23aa1

Browse files
committed
all changes done
1 parent 87b93a1 commit dc23aa1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ethereumetl/cli/stream.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
'file://$HOME/Library/Ethereum/geth.ipc or https://mainnet.infura.io')
3939
@click.option('-o', '--output', type=str,
4040
help='pubsub or kafka, if empty defaults to printing to console')
41-
@click.option('-t', '--topic-prefix', type=str,
41+
@click.option('-t', '--topic-prefix',default='producer-ethereum', type=str,
4242
help='Google PubSub topic path e.g. projects/your-project/topics/ethereum_blockchain. OR'
4343
'Kakfa topic prefix e.g. {chain}-{facet}-{hot/warm}')
44-
@click.option('-ts', '--topic-suffix', type=str,
44+
@click.option('-ts', '--topic-suffix',default='hot', type=str,
4545
help='Google PubSub topic path e.g. projects/your-project/topics/ethereum_blockchain. OR'
4646
'Kakfa topic prefix e.g. {chain}-{facet}-{hot/warm}')
4747
@click.option('-s', '--start-block', default=None, type=int, help='Start block')

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def read(fname):
3838
'eth-abi==1.2.0',
3939
# TODO: This has to be removed when "ModuleNotFoundError: No module named 'eth_utils.toolz'" is fixed at eth-abi
4040
'python-dateutil==2.7.0',
41-
'click==7.0',
41+
'click==8.0',
4242
'ethereum-dasm'
4343
],
4444
extras_require={

start-hot.sh

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/bash
22
source /root/ethereum-etl/env/bin/activate
3-
ethereumetl stream --provider-uri $ETHEREUM_PROVIDER_URI -w 5 -B 3 -b 3 --period-seconds 2 -l /root/ethereum-etl/last_synced_block_hot.txt --lag 0 -e transaction,token_transfer,trace -o kafka -t producer-ethereum -ts hot
3+
ethereumetl stream --provider-uri $ETHEREUM_PROVIDER_URI -w 5 -B 3 -b 3 --period-seconds 2 -l /root/ethereum-etl/last_synced_block_hot.txt --lag 3 -e transaction,token_transfer,trace -o kafka -t producer-ethereum -ts hot

0 commit comments

Comments
 (0)