kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Santilli <jonathansanti...@gmail.com>
Subject Re: One partitions segment files in different log-dirs
Date Sat, 05 Jan 2019 17:20:06 GMT
Hello Margus,

Am not sure if I got your question correctly, but, assuming you have a
topic called "*kafka-log*" with two partitions, each of them (kafka-log-1
and kafka-log-2) will contain its own segments.
Kafka Brokers will distribute/replicate (according to the Brokers config)
the topics partitions among the available Brokers (once again, it depends
on the configuration you have in place).

The segments within a topic partition belongs to that particular partition
and are not shared between partitions, that is, one particular segment
sticks to the partition it belongs and is not shared/split with other

Hope this helps or maybe you can provide more details about your doubt.


On Fri, Jan 4, 2019 at 4:29 PM <margus@roo.ee> wrote:

> Hi
> In example if I have /kafka-log1 and /kafka-log2
> Can kafka distribute one partitions segment files between different logs
> directories?
> Br,
> Margus Roo

Santilli Jonathan

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message