cvuijst opened a new issue #8917: URL: https://github.com/apache/pulsar/issues/8917
#### Expected behavior Example with non deprecated class. #### Actual behavior Example uses MessageBuilder class. #### Steps to reproduce At: [https://pulsar.apache.org/docs/en/cookbooks-compaction/](https://pulsar.apache.org/docs/en/cookbooks-compaction/) An import is done through: **import org.apache.pulsar.client.api.MessageBuilder;** However, the jar file of 2.7.0 does not contain the interface in Maven central. As indicated on: [https://pulsar.apache.org/api/client/org/apache/pulsar/client/api/MessageBuilder.html](https://pulsar.apache.org/api/client/org/apache/pulsar/client/api/MessageBuilder.html) The interface is deprecated. #### System configuration **Pulsar version**: 2.7.0 ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
