charlespnh commented on code in PR #35375:
URL: https://github.com/apache/beam/pull/35375#discussion_r2207686904


##########
sdks/python/apache_beam/yaml/examples/testing/examples_test.py:
##########
@@ -114,14 +114,31 @@ def _fn(row):
 
 @beam.ptransform.ptransform_fn
 def test_kafka_read(
-    pcoll,
+    pbegin,

Review Comment:
   Fixed



##########
sdks/python/apache_beam/yaml/examples/testing/examples_test.py:
##########
@@ -114,14 +114,31 @@ def _fn(row):
 
 @beam.ptransform.ptransform_fn
 def test_kafka_read(
-    pcoll,
+    pbegin,
     format,
     topic,
     bootstrap_servers,
     auto_offset_reset_config,
     consumer_config):
+  """
+  This PTransform simulates the behavior of the ReadFromKafka transform
+  with the RAW format by simply using some fixed sample text data and
+  encode it to raw bytes.
+
+  Args:
+    pbegin: The input PCollection.
+    format:

Review Comment:
   Added



-- 
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: github-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to