Note: lists.cncf.io will be down for maintenance on Wednesday, October 5th, starting at 9AM Pacific Time (4PM Wednesday October 5, 2022 UTC), for approximately one hour.
Invalid value 10737418240 for configuration segment.bytes: Not a number of type INT
I am trying to apply custom segment.bytes value to kafka topic as follows.
But I got this error on broker log.
2020-03-13 06:50:44,048 INFO [Admin Manager on Broker 2]: Invalid config value for resource ConfigResource(type=TOPIC, name='mytopicname'): Invalid value 10737418240 for configuration segment.bytes: Not a number of type INT (kafka.server.AdminManager) [data-plane-kafka-request-handler-2]
segment.bytes in my manifest file looks valid integer. What is wrong with this configuration?
toggle quoted messageShow quoted text
segment.bytes uses the Java int type, which has a maximum possible value of 2147483647 (2^31-1). So although 10737418240 is a valid number it's too big.
On Fri, Mar 13, 2020 at 8:47 AM <yohei@...> wrote: