简体   繁体   English

SIGTERM 信号首先到达 kuma 并立即停止所有活动的应用程序连接

[英]SIGTERM signal arrives first to kuma and stops all active application connections immediately

we have applications that work with Kafka (MSK), we noticed that once pod is starting to shutdown (during autoscaling or deployment) the app container loses all active connections and the SIGTERM signal causes Kuma to close all connections immediately which cause data loss due to unfinished sessions (which doesn't get closed gracefully) on the app side and after that we receive connection errors to the kafka brokers, is anyone have an idea how to make Kuma wait some time once it gets the SIGTERM signal to let the sessions close gracefully?我们有与 Kafka (MSK) 配合使用的应用程序,我们注意到一旦 pod 开始关闭(在自动缩放或部署期间),应用程序容器将丢失所有活动连接并且 SIGTERM 信号导致 Kuma 立即关闭所有连接,这会导致数据丢失在应用程序端未完成的会话(没有正常关闭),之后我们收到到 kafka 代理的连接错误,有没有人知道如何让 Kuma 在收到 SIGTERM 信号后等待一段时间让会话关闭优雅地? or maybe a way to let the app know before the kuma about the shutsown?或者也许是一种让应用程序在 kuma 之前知道关闭的方法? or any other idea?或任何其他想法?

This is known issue getting fixed in the coming 1.7 release: https://github.com/kumahq/kuma/pull/4229这是在即将发布的 1.7 版本中得到修复的已知问题: https://github.com/kumahq/kuma/pull/4229

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 KafkaStreams 应用程序停止使用消息取消订阅所有主题或模式并分配分区 - KafkaStreams application stops working with message Unsubscribed all topics or patterns and assigned partitions 消耗所有Kafka主题,然后立即断开连接? - Consume all of a Kafka topic and then immediately disconnect? Kafka 生产者没有表示所有代理都无法访问 - Kafka producer does not signal that all brokers are unreachable 骆驼上下文在应用程序启动后立即启动关闭,没有明显错误 - The camel context initiates shutdown immediately after application start, with no apparent error Kafka 事务 - 当应用程序停止并再次启动时跳过一个偏移量 - Kafka transaction - skip one offset when the application stops and be started again Apache Spark:reduceByKey函数停止Java应用程序 - Apache Spark: reduceByKey function stops Java-application 将KTable与KStream联接在一起,输出主题什么也没有到达 - Joining a KTable with a KStream and nothing arrives in the output topic 从应用程序创建到 Kafka 代理的连接数 - How many Connections are created to Kafka brokers from a application Spark 结构化流 [2.2.x 或 2.3.x] 应用程序如何发出信号表明它已准备好从 Kafka 主题消费 - How can a Spark structured streaming [2.2.x or 2.3.x] application signal that it is ready to consume from a Kafka topic 一段时间未读取任何消息后,Kafka Streams应用程序停止运行 - Kafka Streams application stops working after no message have been read for a while
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM