Steadybit logoResilience Hub
Try SteadybitGitHub icon
Steadybit logoResilience Hub

Graceful Degradation While Kafka Is Unavailable

Use Template

Graceful Degradation While Kafka Is Unavailable

Use Template

Graceful Degradation While Kafka Is Unavailable

Use Template

Graceful Degradation While Kafka Is Unavailable

Use Template
Go back to list

An unavailable Kafka is not user-visible as it leads to graceful degradation and retries as soon as the Kafka is back available again.

Motivation

In case of an unavailable Kafka message broker, your application should still work successfully. To decouple your system parts from each other, each Kafka client should take care of appropriate caching and retry mechanisms and shouldn't make the failed Kafka message broker visible to the end user. Instead, your system should fail gracefully, so retry the submission as soon as the Kafka message broker is back again.

Structure

We will use two separate Postman collections to decouple request submissions and check business functionality. The first Postman collection runs while Kafka is unavailable. We expect the Postman collection to run without errors and the system to somehow save all requests. After Kafka is available again, we will check with another Postman collection to see whether all requests have been received and processed. In between, we allow for some processing time.


Tags
Kafka
Recoverability
Postman
Kubernetes
GitHub
steadybit/reliability-hub-db/tree/main/templates/messaging-kafka.kafka-unavailable
License
MIT
MaintainerSteadybit
Use Template

How to use this template?

Import via Hub Connection

Steadybit’s Reliability Hub is already connected to your platform. If you are an admin, you can just easily import templates with just one click.

Import template

Are you on-prem?

This is how you import Templates

Import as Experiment

Simply download the template and upload it as an experiment to use it once. Perfect if you are no administrator in the platform and just want to use the template once.

.json (4KB)

Block Traffic

Blocks network traffic (incoming and outgoing).

Attack

Attack

Containers

>_ boost your chaos journey Connect Your Hub to Steadybit

Maximise Steadybit potential! Connect your own Hub to the platform and smoothly import your own templates: using them it’s never been this easy!

Steadybit logoResilience Hub
Try Steadybit
© 2024 Steadybit GmbH. All rights reserved.
Twitter iconLinkedIn iconGitHub icon