[jira] [Created] (FLINK-18340) Support directly providing bytes instead of a Protobuf messages when writing to Kafka / Kinesis with the Python SDK

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-18340) Support directly providing bytes instead of a Protobuf messages when writing to Kafka / Kinesis with the Python SDK

Shang Yuanchun (Jira)
Tzu-Li (Gordon) Tai created FLINK-18340:
-------------------------------------------

             Summary: Support directly providing bytes instead of a Protobuf messages when writing to Kafka / Kinesis with the Python SDK
                 Key: FLINK-18340
                 URL: https://issues.apache.org/jira/browse/FLINK-18340
             Project: Flink
          Issue Type: New Feature
          Components: Stateful Functions
         Environment: State
            Reporter: Tzu-Li (Gordon) Tai
             Fix For: statefun-2.2.0


This was insight from this ML thread: http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/Any-python-example-with-json-data-from-Kafka-using-flink-statefun-td42520.html

Currently, the {{kafka_egress_record}} and {{kinesis_egress_record}} methods in the Python SDK only support providing a Protobuf message to be written to Kafka / Kinesis.
We should make this more flexible so that a user can directly supply bytes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)