Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

How to run the code

  1. go to the root directory of the code.
  2. execute the following command:docker-compose up -d
  3. wait for the containers to be brought up, go tohttp://localhost:8080 to verify AKHQ is running.
  4. set the active profile in the run/debug configuration in intelliJ. (fixed, exponential or non-blocking).
  5. run the application
  6. Post a null message body.
  7. 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.

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp