confluentinc / kafka-rest

Confluent REST Proxy for Kafka
https://docs.confluent.io/current/kafka-rest/docs/index.html
Other
38 stars 643 forks source link

max.poll.records though configured at RestProxy configuration not working #1206

Open kasarlaharish1 opened 11 months ago

kasarlaharish1 commented 11 months ago

Hi ,

I tried to configure max.poll.records in rest proxy configuration using variable KAFKA_REST_CONSUMER_MAX_POLL_RECORDS_CONFIG: 10 in the docker file.

But while polling the records using GET /consumers/(string:group_name)/instances/(string:instance)/records The above config is not getting applied? Any idea on whether is it possible to fetch specific number of records from the above api?