replaying deadletter with replay udf and includePubsubMessage=true doesn't work #38
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
good first issue
Good for newcomers
The default configured behavior of the log export pipeline is to force
includePubsubMessage
to true[1].When used in combination with sample Dataflow UDF message replay Javascript[2], replayed messages from the deadletter subscription won't be handled correctly. As messages enter the original/main log subscription, they will be re-wrapped in the
data
key again. You will end up with strange logs like this in Splunk:[1] - https://github.com/GoogleCloudPlatform/terraform-splunk-log-export/blob/main/main.tf#L85
[2] - https://storage.googleapis.com/splk-public/js/dataflow_udf_messages_replay.js
The text was updated successfully, but these errors were encountered: