Skip to content

Commit 87b93a1

Browse files
committed
add kafka to setup
1 parent 5d52f06 commit 87b93a1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ def read(fname):
4444
extras_require={
4545
'streaming': [
4646
'timeout-decorator==0.4.1',
47-
'google-cloud-pubsub==0.39.1'
47+
'google-cloud-pubsub==0.39.1',
48+
'confluent-kafka==2.2.0'
4849
],
4950
'dev': [
5051
'pytest~=4.3.0'

start-hot.sh

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-
python /root/ethereum-etl/ethereumetl.py 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 0 -e transaction,token_transfer,trace -o kafka -t producer-ethereum -ts hot

0 commit comments

Comments
 (0)