kopia lustrzana https://github.com/saubury/mastodon-stream
broker as tcp v4
rodzic
f837b3dfb9
commit
e5e18d5bd9
|
@ -14,7 +14,8 @@ def acked(err, msg):
|
|||
def kafka_producer():
|
||||
producer_config = {
|
||||
'bootstrap.servers': 'localhost:9092',
|
||||
'schema.registry.url': 'http://localhost:8081'
|
||||
'schema.registry.url': 'http://localhost:8081',
|
||||
'broker.address.family': 'v4'
|
||||
}
|
||||
|
||||
value_schema = avro.load('avro/mastodon-topic-value.avsc')
|
||||
|
|
Ładowanie…
Reference in New Issue