aliehsaeedii commented on code in PR #16218: URL: https://github.com/apache/kafka/pull/16218#discussion_r1860392531
########## streams/src/main/java/org/apache/kafka/streams/kstream/internals/foreignkeyjoin/ForeignTableJoinProcessorSupplier.java: ########## @@ -111,34 +110,26 @@ public void process(final Record<KO, Change<VO>> record) { return; } - final Bytes prefixBytes = keySchema.prefixBytes(record.key()); + final Bytes foreignKeyBytes = keySchema.prefixBytes(record.key()); //Perform the prefixScan and propagate the results try (final KeyValueIterator<Bytes, ValueAndTimestamp<SubscriptionWrapper<K>>> prefixScanResults = - subscriptionStore.range(prefixBytes, Bytes.increment(prefixBytes))) { + subscriptionStore.prefixScan(foreignKeyBytes, new BytesSerializer())) { Review Comment: cc: @Chuckame -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org