You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Elmahdi FRID <fr...@gmail.com> on 2019/11/12 14:08:15 UTC

KafkaChangeLog Segment Bytes Kafka version Error V2.0.0

hello Folks

I create new topic with params
 
Topic:testKafkachangelog	PartitionCount:3	ReplicationFactor:3	Configs:segment.bytes=50000000,retention.ms=600000,cleanup.policy=compact
	Topic: testKafkachangelog	Partition: 0	Leader: 0	Replicas: 0,2,1	Isr: 0,2,1
	Topic: testKafkachangelog	Partition: 1	Leader: 1	Replicas: 1,0,2	Isr: 1,0,2
	Topic: testKafkachangelog	Partition: 2	Leader: 2	Replicas: 2,1,0	Isr: 2,1,0

testKafkachangelog-0]$ ll
total 139640
-rw-r--r-- 1 kafka kafka  10485760 Nov 12 13:57 00000000000000000000.index
-rw-r--r-- 1 kafka kafka 142907881 Nov 12 13:57 00000000000000000000.log
-rw-r--r-- 1 kafka kafka  10485756 Nov 12 13:57 00000000000000000000.timeindex
-rw-r--r-- 1 kafka kafka         8 Nov 12 13:16 leader-epoch-checkpoint


and like you see the segment is higher than > 50000000 and no new segment was created and no compact in log.cleaner could someone explain this behavior thanks is advance 

-rw-r--r-- 1 kafka kafka 142907881 Nov 12 13:57 00000000000000000000.log

Re: KafkaChangeLog Segment Bytes Kafka version Error V2.0.0

Posted by Elmahdi FRID <fr...@gmail.com>.
@hello any one for this bug ?

On 2019/11/12 14:08:15, Elmahdi FRID <fr...@gmail.com> wrote: 
> hello Folks
> 
> I create new topic with params
>  
> Topic:testKafkachangelog	PartitionCount:3	ReplicationFactor:3	Configs:segment.bytes=50000000,retention.ms=600000,cleanup.policy=compact
> 	Topic: testKafkachangelog	Partition: 0	Leader: 0	Replicas: 0,2,1	Isr: 0,2,1
> 	Topic: testKafkachangelog	Partition: 1	Leader: 1	Replicas: 1,0,2	Isr: 1,0,2
> 	Topic: testKafkachangelog	Partition: 2	Leader: 2	Replicas: 2,1,0	Isr: 2,1,0
> 
> testKafkachangelog-0]$ ll
> total 139640
> -rw-r--r-- 1 kafka kafka  10485760 Nov 12 13:57 00000000000000000000.index
> -rw-r--r-- 1 kafka kafka 142907881 Nov 12 13:57 00000000000000000000.log
> -rw-r--r-- 1 kafka kafka  10485756 Nov 12 13:57 00000000000000000000.timeindex
> -rw-r--r-- 1 kafka kafka         8 Nov 12 13:16 leader-epoch-checkpoint
> 
> 
> and like you see the segment is higher than > 50000000 and no new segment was created and no compact in log.cleaner could someone explain this behavior thanks is advance 
> 
> -rw-r--r-- 1 kafka kafka 142907881 Nov 12 13:57 00000000000000000000.log
>