Skip to content

Add custom error processor example

d1125c5
Select commit
Loading
Failed to load commit list.
Merged

Add Custom Error Processors #6

Add custom error processor example
d1125c5
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Dec 2, 2025 in 26s

Annotations

Check failure on line 56 in retryable-consumer-core/src/main/java/com/michelin/kafka/error/DefaultErrorProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal " retry(ies)." 3 times.

See more on https://sonarcloud.io/project/issues?id=michelin_kafka-retryable-consumer&issues=AZraxnjlbWd8HavMNJdg&open=AZraxnjlbWd8HavMNJdg&pullRequest=6

Check warning on line 196 in retryable-consumer-core/src/test/java/com/michelin/kafka/test/unit/RetryableConsumerErrorHandlerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this variable to not match a restricted identifier.

See more on https://sonarcloud.io/project/issues?id=michelin_kafka-retryable-consumer&issues=AZraxnjRbWd8HavMNJdd&open=AZraxnjRbWd8HavMNJdd&pullRequest=6

Check warning on line 152 in retryable-consumer-core/src/test/java/com/michelin/kafka/test/unit/DefaultErrorProcessorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this variable to not match a restricted identifier.

See more on https://sonarcloud.io/project/issues?id=michelin_kafka-retryable-consumer&issues=AZraxnhJbWd8HavMNJdb&open=AZraxnhJbWd8HavMNJdb&pullRequest=6

Check warning on line 160 in retryable-consumer-core/src/test/java/com/michelin/kafka/test/unit/RetryableConsumerErrorHandlerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this variable to not match a restricted identifier.

See more on https://sonarcloud.io/project/issues?id=michelin_kafka-retryable-consumer&issues=AZraxnjRbWd8HavMNJdc&open=AZraxnjRbWd8HavMNJdc&pullRequest=6

Check warning on line 227 in retryable-consumer-core/src/test/java/com/michelin/kafka/test/unit/RetryableConsumerErrorHandlerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this variable to not match a restricted identifier.

See more on https://sonarcloud.io/project/issues?id=michelin_kafka-retryable-consumer&issues=AZraxnjRbWd8HavMNJde&open=AZraxnjRbWd8HavMNJde&pullRequest=6

Check warning on line 391 in retryable-consumer-core/src/test/java/com/michelin/kafka/test/unit/RetryableConsumerTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this variable to not match a restricted identifier.

See more on https://sonarcloud.io/project/issues?id=michelin_kafka-retryable-consumer&issues=AZredK1B-h1a3WPh7FFC&open=AZredK1B-h1a3WPh7FFC&pullRequest=6

Check warning on line 44 in retryable-consumer-core/src/test/java/com/michelin/kafka/test/unit/DefaultErrorProcessorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this 'public' modifier.

See more on https://sonarcloud.io/project/issues?id=michelin_kafka-retryable-consumer&issues=AZraxnhJbWd8HavMNJdY&open=AZraxnhJbWd8HavMNJdY&pullRequest=6

Check warning on line 425 in retryable-consumer-core/src/main/java/com/michelin/kafka/RetryableConsumer.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a primitive boolean expression here.

See more on https://sonarcloud.io/project/issues?id=michelin_kafka-retryable-consumer&issues=AZraxnj8bWd8HavMNJdj&open=AZraxnj8bWd8HavMNJdj&pullRequest=6

Check warning on line 104 in retryable-consumer-core/src/main/java/com/michelin/kafka/error/DefaultErrorProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Method has 8 parameters, which is greater than 7 authorized.

See more on https://sonarcloud.io/project/issues?id=michelin_kafka-retryable-consumer&issues=AZraxnjlbWd8HavMNJdh&open=AZraxnjlbWd8HavMNJdh&pullRequest=6

Check warning on line 46 in retryable-consumer-core/src/main/java/com/michelin/kafka/error/DefaultErrorProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this instanceof check and cast with 'instanceof RecordDeserializationException recorddeserializationexception'

See more on https://sonarcloud.io/project/issues?id=michelin_kafka-retryable-consumer&issues=AZraxnjlbWd8HavMNJdi&open=AZraxnjlbWd8HavMNJdi&pullRequest=6

Check warning on line 90 in retryable-consumer-core/src/test/java/com/michelin/kafka/test/unit/DefaultErrorProcessorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this variable to not match a restricted identifier.

See more on https://sonarcloud.io/project/issues?id=michelin_kafka-retryable-consumer&issues=AZraxnhJbWd8HavMNJdZ&open=AZraxnhJbWd8HavMNJdZ&pullRequest=6

Check warning on line 29 in retryable-consumer-core/src/main/java/com/michelin/kafka/ErrorProcessor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this variable to not match a restricted identifier.

See more on https://sonarcloud.io/project/issues?id=michelin_kafka-retryable-consumer&issues=AZraxnjbbWd8HavMNJdf&open=AZraxnjbbWd8HavMNJdf&pullRequest=6

Check warning on line 130 in retryable-consumer-core/src/test/java/com/michelin/kafka/test/unit/DefaultErrorProcessorTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this variable to not match a restricted identifier.

See more on https://sonarcloud.io/project/issues?id=michelin_kafka-retryable-consumer&issues=AZraxnhJbWd8HavMNJda&open=AZraxnhJbWd8HavMNJda&pullRequest=6