Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ```java
- Consumer<String> consumer = client.newConsumer(Schema.STRING)
- .topic("my-topic")
- .subscriptionName("my-subscription")
- .replicateSubscriptionState(true)
- .subscribe();
- ```
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement