Yinghai Zhao created FLINK-32727:
------------------------------------

             Summary: Adding capability of setting Attributes in Google Pub/Sub 
sink
                 Key: FLINK-32727
                 URL: https://issues.apache.org/jira/browse/FLINK-32727
             Project: Flink
          Issue Type: Improvement
          Components: Connectors / Google Cloud PubSub
            Reporter: Yinghai Zhao


Currently the Google PubSub Sink can only publish messages with data in body. 
To take full advantage of Google PubSub, having the ability to set attributes 
is important, so subscriptions can filter on attributes and consume part of the 
event stream.

Google Doc on 
[message|https://cloud.google.com/pubsub/docs/reference/rest/v1/PubsubMessage] 
and 
[subscription.|https://cloud.google.com/pubsub/docs/subscription-message-filter]

 

I have a basic idea on this and had a patch working locally. Wondering how I 
can incorporate this back to the official connector.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to