tomstepp commented on code in PR #33596:
URL: https://github.com/apache/beam/pull/33596#discussion_r1925817734


##########
sdks/java/io/kafka/src/main/java/org/apache/beam/sdk/io/kafka/KafkaIOUtils.java:
##########
@@ -142,4 +144,14 @@ void update(double quantity) {
       return avg;
     }
   }
+
+  static byte[] getOrderedCode(long offset) {
+    OrderedCode orderedCode = new OrderedCode();
+    orderedCode.writeNumIncreasing(offset);

Review Comment:
   Tried updating to cheaper approach.



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