You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/02/15 01:09:21 UTC
[GitHub] [pulsar] liudezhi2098 commented on issue #14274: Can customized the key-value in typedmessagebuilder class?
liudezhi2098 commented on issue #14274:
URL: https://github.com/apache/pulsar/issues/14274#issuecomment-1039743010
https://pulsar.apache.org/docs/en/next/client-libraries-java/
```
producer.newMessage()
.key("my-message-key")
.value("my-async-message".getBytes())
.property("my-key", "my-value")
.property("my-other-key", "my-other-value")
.send();
```
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org