codertimu commented on issue #21162:
URL: https://github.com/apache/beam/issues/21162#issuecomment-1369982435
I used `PubsubMessageWithAttributesAndMessageIdAndOrderingKeyCoder` on the
PCollection of Pubsub messages but still `messageId`(I don't care it) and
`orderingKey` is null.
I used it as follows:
```java
results.setCoder(new
PubsubMessageWithAttributesAndMessageIdAndOrderingKeyCoder())
.apply("Write Result updates to PubSub",
PubsubIO.writeMessages().to(options.getLitResultTopic()));
```
Am I not using it correctly?
--
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]