Class TopicForRetryable
java.lang.Object
org.apache.kafka.clients.admin.NewTopic
org.springframework.kafka.support.TopicForRetryable
public class TopicForRetryable
extends org.apache.kafka.clients.admin.NewTopic
Marker to indicate this
NewTopic
is for retryable topics; admin will ignore these if
a regular NewTopic
exist.- Since:
- 2.8.10
- Author:
- Gary Russell
-
Constructor Summary
ConstructorDescriptionTopicForRetryable
(String topic, int numPartitions, short replicationFactor) Create an instance with the provided properties. -
Method Summary
Methods inherited from class org.apache.kafka.clients.admin.NewTopic
configs, configs, equals, hashCode, name, numPartitions, replicasAssignments, replicationFactor, toString
-
Constructor Details
-
TopicForRetryable
Create an instance with the provided properties.- Parameters:
topic
- the topic.numPartitions
- the partitions.replicationFactor
- the replication factor.
-