简体   繁体   中英

spring cloud stream keep kafka socket connection alive

I need to configure the spring-cloud-stream Kafka socket alive because of losing the connection to the Azure EventHub. Based on the recommendation page https://github.com/Azure/azure-event-hubs-for-kafka/blob/master/CONFIGURATION.md
I need to set the socket.keepalive.enable to true but I can't find the configuration to set in spring-cloud-stream

That is a librdKafka configuration option (for C/C++); it has nothing to do with the Java clients.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM