Uses of Class
org.springframework.kafka.support.TopicPartitionOffset
Packages that use TopicPartitionOffset
Package
Description
Package for kafka annotations
Package for kafka configuration
Package for kafka core components
Package for kafka listeners
-
Uses of TopicPartitionOffset in org.springframework.kafka.annotation
Methods in org.springframework.kafka.annotation with parameters of type TopicPartitionOffsetModifier and TypeMethodDescriptionprotected void
KafkaListenerAnnotationBeanPostProcessor.processListener
(MethodKafkaListenerEndpoint<?, ?> endpoint, KafkaListener kafkaListener, Object bean, String beanName, String[] topics, TopicPartitionOffset[] tps) -
Uses of TopicPartitionOffset in org.springframework.kafka.config
Methods in org.springframework.kafka.config that return TopicPartitionOffsetModifier and TypeMethodDescriptionAbstractKafkaListenerEndpoint.getTopicPartitionsToAssign()
Return the topicPartitions for this endpoint.KafkaListenerEndpoint.getTopicPartitionsToAssign()
Return the topicPartitions for this endpoint.Methods in org.springframework.kafka.config with parameters of type TopicPartitionOffsetModifier and TypeMethodDescriptionAbstractKafkaListenerContainerFactory.createContainer
(TopicPartitionOffset... topicsAndPartitions) KafkaListenerContainerFactory.createContainer
(TopicPartitionOffset... topicPartitions) Create and configure a container without a listener; used to create containers that are not used for KafkaListener annotations.void
AbstractKafkaListenerEndpoint.setTopicPartitions
(TopicPartitionOffset... topicPartitions) Set the topicPartitions to use. -
Uses of TopicPartitionOffset in org.springframework.kafka.core
Method parameters in org.springframework.kafka.core with type arguments of type TopicPartitionOffsetModifier and TypeMethodDescriptionKafkaOperations.receive
(Collection<TopicPartitionOffset> requested) Receive a multiple records with the default poll timeout (5 seconds).KafkaOperations.receive
(Collection<TopicPartitionOffset> requested, Duration pollTimeout) Receive multiple records.KafkaTemplate.receive
(Collection<TopicPartitionOffset> requested, Duration pollTimeout) -
Uses of TopicPartitionOffset in org.springframework.kafka.listener
Methods in org.springframework.kafka.listener that return TopicPartitionOffsetModifier and TypeMethodDescriptionConsumerProperties.getTopicPartitions()
Return the configuredTopicPartitionOffset
s.Methods in org.springframework.kafka.listener with parameters of type TopicPartitionOffsetModifier and TypeMethodDescriptiondefault int
CommonErrorHandler.deliveryAttempt
(TopicPartitionOffset topicPartitionOffset) int
CommonMixedErrorHandler.deliveryAttempt
(TopicPartitionOffset topicPartitionOffset) int
DeliveryAttemptAware.deliveryAttempt
(TopicPartitionOffset topicPartitionOffset) Return the next delivery attempt for the topic/partition/offset.int
FailedRecordProcessor.deliveryAttempt
(TopicPartitionOffset topicPartitionOffset) Constructors in org.springframework.kafka.listener with parameters of type TopicPartitionOffsetModifierConstructorDescriptionConsumerProperties
(TopicPartitionOffset... topicPartitions) Create properties for a container that will assign itself the provided topic partitions.ContainerProperties
(TopicPartitionOffset... topicPartitions) Create properties for a container that will assign itself the provided topic partitions.