Skip to content

Commit

Permalink
adding replication factor to the leader topic (#150)
Browse files Browse the repository at this point in the history
* adding replication factor to the leader topic

* fix linting
  • Loading branch information
patkivikram committed May 14, 2021
1 parent 4500277 commit 7ab0647
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions faust/assignor/leader_assignor.py
Expand Up @@ -34,6 +34,7 @@ def _leader_topic(self) -> TopicT:
partitions=1,
acks=False,
internal=True,
replicas=self.app.conf.topic_replication_factor,
)

@cached_property
Expand Down

0 comments on commit 7ab0647

Please sign in to comment.