Commit 1b1d9139 by ‘chizw’

[+]kafka优化

1 parent 7cb6e58a
......@@ -17,6 +17,7 @@ consumer_new = KafkaConsumer(
bootstrap_servers=ConfigInfo.kafka_consumer_bootstrap_servers, # Kafka broker 的地址
group_id=ConfigInfo.kafka_consumer_group_id, # 消费者组 ID
auto_offset_reset=ConfigInfo.kafka_consumer_auto_offset_reset, # 从最早的消息开始消费
connections_max_idle_ms=3000000,
request_timeout_ms=3000000,
fetch_max_wait_ms=300000,
)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!