Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kafka 16331 eosv1 streamsproducer #17212

Open
wants to merge 3 commits into
base: trunk
Choose a base branch
from

Conversation

mjsax
Copy link
Member

@mjsax mjsax commented Sep 16, 2024

Stacked on #17170

@mjsax mjsax added the streams label Sep 16, 2024
@@ -203,11 +198,6 @@ public static Map<TopicPartition, ListOffsetsResultInfo> fetchEndOffsets(final C
return getEndOffsets(fetchEndOffsetsFuture(partitions, adminClient));
}

public static String extractThreadId(final String fullThreadName) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

side cleanup -- unused -- removing

eosAlphaMockClientSupplier.setCluster(cluster);
eosAlphaMockClientSupplier.setApplicationIdForProducer("appId");
eosAlphaStreamsProducer =
eosMockClientSupplier.setCluster(cluster);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many EOS tests where not EOSv1 vs EOSv2 specific, but used eosAlphaXxx variables -- updating these to use eosBetaXxx (renamed to just eosXxxx) -- more of this below.

@@ -191,7 +191,7 @@ public static <K, V> KeyValueStoreTestDriver<K, V> create(final Serializer<K> ke
private final Set<K> flushedRemovals = new HashSet<>();
private final List<KeyValue<byte[], byte[]>> restorableEntries = new LinkedList<>();

private final InternalMockProcessorContext context;
private final InternalMockProcessorContext<?, ?> context;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

side cleanup

@@ -266,7 +265,7 @@ public <K1, V1> void send(final String topic,
stateDir.mkdirs();
stateSerdes = serdes;

context = new InternalMockProcessorContext(stateDir, serdes.keySerde(), serdes.valueSerde(), recordCollector, null) {
context = new InternalMockProcessorContext<Object, Object>(stateDir, serdes.keySerde(), serdes.valueSerde(), recordCollector, null) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

side cleanup

@@ -447,7 +446,7 @@ private StreamTask createStreamsTask(final StreamsConfig streamsConfig,
topology
);
final StreamsMetricsImpl streamsMetrics = new MockStreamsMetrics(metrics);
final InternalProcessorContext context = new ProcessorContextImpl(
final InternalProcessorContext<?, ?> context = new ProcessorContextImpl(
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

side cleanup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant