- Notifications
You must be signed in to change notification settings - Fork2
Code samples for article published at:https://www.sourcelabs.nl/2022/03/08/error-handling-with-apache-kafka/
NotificationsYou must be signed in to change notification settings
sourcelabs-nl/spring-kafka-error-handling
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Code for article published athttps://www.sourcelabs.nl/2022/03/08/error-handling-with-apache-kafka/
The code samples are divided in three retry mechanisms. These retry mechanisms use the following Spring profiles: Fixed, exponential and non-blocking.
- go to the root directory of the code.
- execute the following command:
docker-compose up -d - wait for the containers to be brought up, go tohttp://localhost:8080 to verify AKHQ is running.
- set the active profile in the run/debug configuration in intelliJ. (fixed, exponential or non-blocking).
- run the application
- Post a null message body.
- You should see the message come in with the log message processing message: [your message] after which the message is retried. How it is retried depends on which profile you chose. See the blog for further details on the retry mechanisms.
About
Code samples for article published at:https://www.sourcelabs.nl/2022/03/08/error-handling-with-apache-kafka/
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Contributors2
Uh oh!
There was an error while loading.Please reload this page.