org.apache.kafka.common.errors.TimeoutException: Expiring 9 record(s) for <<topicname>>-0:300001 ms has passed since batch creation

Hi
I am getting below error very frequently when high number of messages are being produced to topic.
This works fine in normal scenario,

org.apache.kafka.common.errors.TimeoutException: Expiring 9 record(s) for <>-0:300001 ms has passed since batch creation.

I have increased various timeouts as below which worked to some extent but still getting error

spring.kafka.properties.delivery.timeout.ms=300000
spring.kafka.properties.request.timeout.ms=90000
spring.kafka.properties.buffer.memory=100663296
spring.kafka.properties.max.block.ms=90000
compression=lz4

any help or pointers please?