Skip to content

Commit

Permalink
Remove POC code
Browse files Browse the repository at this point in the history
Signed-off-by: Chase Engelbrecht <[email protected]>
  • Loading branch information
engechas committed Oct 9, 2023
1 parent 76d3f0f commit 675d7e0
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ public class KafkaBuffer<T extends Record<?>> extends AbstractBuffer<T> {
public static final int INNER_BUFFER_CAPACITY = 1000000;
public static final int INNER_BUFFER_BATCH_SIZE = 250000;
private final KafkaCustomProducer producer;
private final List<KafkaCustomConsumer> emptyCheckingConsumers;
private final AbstractBuffer innerBuffer;
private final ExecutorService executorService;
private final Duration drainTimeout;
Expand All @@ -54,8 +53,6 @@ public KafkaBuffer(final PluginSetting pluginSetting, final KafkaBufferConfig ka
this.shutdownInProgress = new AtomicBoolean(false);
final List<KafkaCustomConsumer> consumers = kafkaCustomConsumerFactory.createConsumersForTopic(kafkaBufferConfig, kafkaBufferConfig.getTopic(),
innerBuffer, pluginMetrics, acknowledgementSetManager, shutdownInProgress);
emptyCheckingConsumers = kafkaCustomConsumerFactory.createConsumersForTopic(kafkaBufferConfig, kafkaBufferConfig.getTopic(),
innerBuffer, pluginMetrics, acknowledgementSetManager, shutdownInProgress);
this.executorService = Executors.newFixedThreadPool(consumers.size());
consumers.forEach(this.executorService::submit);

Expand Down

0 comments on commit 675d7e0

Please sign in to comment.