Skip to content
Snippets Groups Projects
Commit 3aaaac18 authored by Surabhi Sachdev's avatar Surabhi Sachdev
Browse files

don't hardcode replication factor to 1 for topics

parent db2c06f2
No related branches found
No related tags found
1 merge request!584don't hardcode replication factor to 1 for topics
Pipeline #593561 passed with warnings
......@@ -117,8 +117,7 @@ class EventProcessor(object):
# specified number of partitions
new_topic = NewTopic(
topic=topic_name,
num_partitions=partitions,
replication_factor=1
num_partitions=partitions
)
self.admin_client.create_topics([new_topic])
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment