Skip to content

Commit

Permalink
GH-2198: Remove Unused Field from Test
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Sep 19, 2022
1 parent cbebf9e commit 5fb9b8e
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@ public static class Listener {

final CountDownLatch latch1 = new CountDownLatch(1);

volatile ConsumerRecord<Integer, String> record;

public Listener(KafkaTemplate<Integer, String> template) {
this.template = template;
}
Expand All @@ -172,11 +170,9 @@ void listen1(ConsumerRecord<Integer, String> in) {

@KafkaListener(id = "obs2", topics = "int.observation.testT2")
void listen2(ConsumerRecord<Integer, String> in) {
this.record = in;
this.latch1.countDown();
}

}


}

0 comments on commit 5fb9b8e

Please sign in to comment.