Skip to content

Commit

Permalink
Fixed error handler name
Browse files Browse the repository at this point in the history
  • Loading branch information
vsadokhin committed Oct 1, 2018
1 parent 45b7525 commit 847fcfa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public KafkaConsumer(MetricRepository metricRepository) {
this.metricRepository = metricRepository;
}

@KafkaListener(id = "metric-listener", topics = "metric", groupId = "stream", errorHandler = "metricListenerErrorHandler")
@KafkaListener(id = "metric-listener", topics = "metric", groupId = "stream", errorHandler = "errorHandler")
public void processMessage(Metric metric, Acknowledgment acknowledgment) {
for (MetricTable metricTable : MetricTable.values()) {
metricRepository.insert(metric, metricTable);
Expand Down

0 comments on commit 847fcfa

Please sign in to comment.