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? or maybe a way to let the app know before the kuma about the shutsown? or any other idea ?
SIGTERM signal arrives first to kuma and stops all active application connections immediately
398 views Asked by Shahar Ariel-Levi At
1
There are 1 answers
Related Questions in APACHE-KAFKA
- No method found for class java.lang.String in Kafka
- How to create beans of the same class for multiple template parameters in Spring
- Troubleshoot .readStream function not working in kafka-spark streaming (pyspark in colab notebook)
- Handling and ignore UNKNOWN_TOPIC_OR_PARTITION error in Kafka Streams
- Connect Apache Flink with Apache kudu as sink using Pyflink
- Embedded Kafka Failed to Start After Spring Starter Parent Version 3.1.10
- Producer Batching Service Bus Vs Kafka
- How to create a docker composer environment where containers can communicate each other?
- Springboot Kafka Consumer unable to maintain connect to kafka cluster brokers
- Kafka integration between two micro service which can respond back to the same function initiated the request
- Configuring Apache Spark's MemoryStream to simulate Kafka stream
- Opentelemetry Surpresses Kafka Produce Message Java
- Kafka: java.lang.NoClassDefFoundError: Could not initialize class org.apache.logging.log4j.core.appender.mom.kafka.KafkaManager
- MassTransit Kafka producers configure to send several events to the same Kafka topic
- NoClassDefFoundError when running JAR file with Apache Kafka dependencies
Related Questions in SIGTERM
- SIGTERM not working against child process spawned by entrypoint
- SIGTERM signal logs for Go application in EKS
- How can I interrupt a sub-command inside a pod?
- How to exit a process gracefully from windows. Preferrably via GITBASH
- application does not handle SIGTERM an azure AKS
- k8s exec command terminated but the remote command does not
- Irregular Docker restarts receiving SIGNAL 15 with unknown origin
- Azure Spring Boot app receiving SIGTERM right after start
- Airflow KubernetesPodOperator Task Terminated with SIGTERM Before Reaching Execution Timeout
- handle 'SIGTERM' signal on AWS Batch Job using NodeJS
- How to Debug a SIGTERM that Causes Abrupt Helidon Server Shutdown
- after kubernetes preStop hook, is terminationGracePeriodSeconds still honored?
- Static worker unexpectedly exited with code: null and signal: SIGTERM
- Doesn't work Soap service in async method after getting the SIGTERM command
- Error when opening the Docker in Windows 10- /sigterm error exception has been thrown by the target of an invocation: pipe hasn't been connected yet
Related Questions in GRACEFUL-SHUTDOWN
- Micronaut Netty Event Loop Configuration Not Honoring Shutdown Timeout on SIGTERM
- FATAL and Panic errors in PostgreSQL
- SpringBoot and Camel graceful shutdown
- Spring Integration Graceful Shutdown with TaskExecutor
- Rust & Tokio: How to gracefully shutdown a custom server running in a loop using a custom Signal handler?
- How to exit a process gracefully from windows. Preferrably via GITBASH
- Rust & Tokio: How to handle more signals than just sigint i.e. sigquit?
- Proper usage of SIGTERM and SystemExit
- Graceful decommissioning on Spot/Standard pre-emptible nodes in DataProc cluster in GCP
- Getting BeanCreationNotAllowedException on spring graceful shutdown
- Receiving connection refused from post request during kubernetes preStop hook
- Kubernetes preStop hook does not sleep
- PreDestroy method is not compeleted before container is killed
- To save the unsaved data in Azure Windows VM before a scheduled shutdown
- How to gracefully shutdown or close Node.Js Express app
Related Questions in KUMA
- Defining a split traffic route in Kuma/Envoy
- SIGTERM signal arrives first to kuma and stops all active application connections immediately
- Go module "invalid revision" when dependency using vendored dependency
- CNCF Kuma: TLS error during Multi-Zone setup
- How to inject on SpringBoot application as SideCar Proxy in another SpringBoot application in Kuma or any other Service Mesh
- Deleting Kuma mesh (standalone k8s installation)
- How to add a class within raw filter marks?
- kuma disable envoy health check
- How to connect a local service being developed to a hosted service mesh?
- Using Kuma to run a multi-cloud service mesh
- kuma.io demo is failed with status code 503
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
This is known issue getting fixed in the coming 1.7 release: https://github.com/kumahq/kuma/pull/4229