Last updated
Was this helpful?
Last updated
Was this helpful?
setTopicId(<topicId>)
TopicId
The topic ID to subscribe to
Required
setStartTime(<startTime>)
Instant
The time to start subscribing to a topic's messages
Optional
setEndTime(<endTime>)
Instant
The time to stop subscribing to a topic's messages
Optional
setLimit(<limit>)
long
The number of messages to return
Optional
subscribe(<client, onNext)
SubscriptionHandle
Client, Consumer<TopicMessage>
Required