fixed minor issue consumer.py
This commit is contained in:
parent
2e8f582bf7
commit
fb42eded2c
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ def main():
|
|||
|
||||
codec = MessageCodec()
|
||||
consumer = KafkaConsumer(security_protocol="SSL",
|
||||
bootstrap_servers=os.environ['KAFKA_SERVER_2'],
|
||||
bootstrap_servers=[os.environ['KAFKA_SERVER_2'],
|
||||
os.environ['KAFKA_SERVER_1']],
|
||||
group_id=f"my_test3_connector_{DATABASE}",
|
||||
auto_offset_reset="earliest",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue