oscerd edited a comment on issue #251: URL: https://github.com/apache/camel-kafka-connector/issues/251#issuecomment-635977824
Yes, because you're mixing up the concepts: a consumer in Camel will be used when you're using a Source connector, so you'll have the consumer options in that case. For example if you use the source connector you can set the camel.source.endpoint.maxMessagesPerPoll And define how much messages will be part of the batch consumed. On the sink side you will be using the producer options. Source options: https://camel.apache.org/camel-kafka-connector/latest/connectors/camel-aws-s3-kafka-source-connector.html Sink options: https://camel.apache.org/camel-kafka-connector/latest/connectors/camel-aws-s3-kafka-sink-connector.html You're using a sink connector (in Camel terms you're using a producer) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org