Skip to content

Commit 7ab0647

Browse files
authored
adding replication factor to the leader topic (#150)
* adding replication factor to the leader topic * fix linting
1 parent 4500277 commit 7ab0647

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

faust/assignor/leader_assignor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def _leader_topic(self) -> TopicT:
3434
partitions=1,
3535
acks=False,
3636
internal=True,
37+
replicas=self.app.conf.topic_replication_factor,
3738
)
3839

3940
@cached_property

0 commit comments

Comments
 (0)