Package org.apache.pulsar.client.api
Interface TopicConsumerBuilder<T>
- Type Parameters:
T- the type of the value in theConsumerBuilder
public interface TopicConsumerBuilder<T>
TopicConsumerBuilder is used to configure topic specific options to override those set at the
ConsumerBuilder level.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Complete the configuration of the topic specific options and return control back to theConsumerBuilderinstance.priorityLevel(int priorityLevel) Configure the priority level of this topic.
-
Method Details
-
priorityLevel
Configure the priority level of this topic.- Parameters:
priorityLevel- the priority of this topic- Returns:
- the
TopicConsumerBuilderinstance - See Also:
-
build
ConsumerBuilder<T> build()Complete the configuration of the topic specific options and return control back to theConsumerBuilderinstance.- Returns:
- the
ConsumerBuilderinstance
-