We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@PulsarListener.batch
1 parent 8d90de2 commit b6e3481Copy full SHA for b6e3481
spring-pulsar/src/main/java/org/springframework/pulsar/annotation/PulsarListener.java
@@ -128,8 +128,10 @@
128
String autoStartup() default "";
129
130
/**
131
- * Activate batch consumption.
132
- * @return whether this listener is in batch mode or not.
+ * Whether the listener method that is the target of the annotation expects a list of
+ * messages or a single message. This does <b>not</b> influence whether messages are
133
+ * pulled from the Pulsar consumer in batches.
134
+ * @return whether the listener method expects a list of messages or a single message.
135
*/
136
boolean batch() default false;
137
0 commit comments