File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
main/java/org/springframework/kafka/annotation
test/java/org/springframework/kafka/listener Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 113113 * The topics for this listener.
114114 * The entries can be 'topic name', 'property-placeholder keys' or 'expressions'.
115115 * An expression must be resolved to the topic name.
116+ * This uses group management and Kafka will assign partitions to group members.
116117 * <p>
117118 * Mutually exclusive with {@link #topicPattern()} and {@link #topicPartitions()}.
118119 * @return the topic names or expressions (SpEL) to listen to.
126127 * dynamically assigned partitions. The pattern matching will be performed
127128 * periodically against topics existing at the time of check. An expression must
128129 * be resolved to the topic pattern (String or Pattern result types are supported).
130+ * This uses group management and Kafka will assign partitions to group members.
129131 * <p>
130132 * Mutually exclusive with {@link #topics()} and {@link #topicPartitions()}.
131133 * @return the topic pattern or expression (SpEL).
134136 String topicPattern () default "" ;
135137
136138 /**
137- * The topicPartitions for this listener.
139+ * The topicPartitions for this listener when using manual topic/partition
140+ * assignment.
138141 * <p>
139142 * Mutually exclusive with {@link #topicPattern()} and {@link #topics()}.
140143 * @return the topic names or expressions (SpEL) to listen to.
Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ public class ManualNackRecordTests {
7373 @ SuppressWarnings ("rawtypes" )
7474 @ Autowired
7575 private Consumer consumer ;
76-
7776 @ Autowired
7877 private Config config ;
7978
You can’t perform that action at this time.
0 commit comments