Uses of Class
org.springframework.kafka.support.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
Modifier 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
Modifier and TypeMethodDescriptionAbstractKafkaListenerEndpoint.getTopicPartitionsToAssign()
Return the topicPartitions for this endpoint.KafkaListenerEndpoint.getTopicPartitionsToAssign()
Return the topicPartitions for this endpoint.Modifier 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
Modifier 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.KafkaOperations2.receive
(Collection<TopicPartitionOffset> requested) Deprecated, for removal: This API element is subject to removal in a future version.Receive a multiple records with the default poll timeout (5 seconds).KafkaOperations2.receive
(Collection<TopicPartitionOffset> requested, Duration pollTimeout) Deprecated, for removal: This API element is subject to removal in a future version.Receive multiple records.KafkaTemplate.receive
(Collection<TopicPartitionOffset> requested, Duration pollTimeout) -
Uses of TopicPartitionOffset in org.springframework.kafka.listener
Modifier and TypeMethodDescriptionConsumerProperties.getTopicPartitions()
Return the configuredTopicPartitionOffset
s.Modifier 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) ModifierConstructorDescriptionConsumerProperties
(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.