tvalentyn commented on code in PR #32170:
URL: https://github.com/apache/beam/pull/32170#discussion_r1722129549
##########
sdks/java/io/kafka/src/main/java/org/apache/beam/sdk/io/kafka/KafkaExactlyOnceSink.java:
##########
@@ -524,6 +526,20 @@ void commitTxn(long lastRecordId, Counter numTransactions)
throws IOException {
ProducerSpEL.commitTransaction(producer);
numTransactions.inc();
+ if (!reportedLineage) {
+ Lineage.getSinks()
+ .add(
+ "kafka",
+ ImmutableList.of(
Review Comment:
Do we need to sort and/or deduplicate the content of the collected lineage
in this list to reduce the number different lineage sources?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]