From d317e62a42cc990957ea22ca8f763f06e00d5639 Mon Sep 17 00:00:00 2001 From: jerryfan01234 <44346807+jerryfan01234@users.noreply.github.com> Date: Wed, 7 Aug 2024 17:11:09 -0400 Subject: [PATCH] upgrade kafka version and reduce session timeout (#112) --- indexer/locals.tf | 2 +- indexer/msk.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/indexer/locals.tf b/indexer/locals.tf index 7abd19e6..1169f232 100644 --- a/indexer/locals.tf +++ b/indexer/locals.tf @@ -1,5 +1,5 @@ locals { - kafka_version = "2.6.2" + kafka_version = "3.4.0" rds_db_name = "dydx" rds_username = "dydx" rds_port = 5432 diff --git a/indexer/msk.tf b/indexer/msk.tf index da2a6ea9..d667932c 100644 --- a/indexer/msk.tf +++ b/indexer/msk.tf @@ -16,7 +16,7 @@ resource "aws_msk_configuration" "main" { replica.fetch.max.bytes=4194304 message.max.bytes=4194304 unclean.leader.election.enable=true - zookeeper.session.timeout.ms=18000 + zookeeper.session.timeout.ms=6000 PROPERTIES }