Skip to content

Commit

Permalink
Add rack aware replica selector to msk config (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
roy-dydx authored and owl-king committed Oct 14, 2024
1 parent ff2cf70 commit ae0d1e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indexer/msk.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ resource "aws_msk_configuration" "main" {
message.max.bytes=4194304
unclean.leader.election.enable=true
zookeeper.session.timeout.ms=6000
replica.selector.class = org.apache.kafka.common.replica.RackAwareReplicaSelector
PROPERTIES

lifecycle {
Expand Down Expand Up @@ -57,4 +58,3 @@ resource "aws_msk_cluster" "main" {
revision = aws_msk_configuration.main.latest_revision
}
}

0 comments on commit ae0d1e0

Please sign in to comment.