chamikaramj commented on code in PR #30998:
URL: https://github.com/apache/beam/pull/30998#discussion_r1567857231


##########
sdks/java/io/kafka/upgrade/src/main/java/org/apache/beam/sdk/io/kafka/upgrade/KafkaIOTranslation.java:
##########
@@ -102,6 +102,7 @@ static class KafkaIOReadWithMetadataTranslator implements 
TransformPayloadTransl
             .addNullableByteArrayField("key_deserializer_provider")
             .addNullableByteArrayField("value_deserializer_provider")
             .addNullableByteArrayField("check_stop_reading_fn")
+            .addNullableLogicalTypeField("consumer_polling_timeout", new 
NanosDuration())

Review Comment:
   You have to also update the `toConfigRow` and `fromConfigRow` methods of the 
`KafkaIOReadWithMetadataTranslator` to use this new field when generating a 
PTransform proto from the PTransform object and vice versa.



-- 
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]

Reply via email to