Hi Thank you for a answer.
The answer I was looking for was how partition segment files are distributed over kafka-logs directories? In example I have one broker with two log directories: kafka-logs1 and kafka-logs2 both of them 100MB in example and partition file segment size is 90MB. If one segment will be full can kafka start second segment file in other kafka-logs directory? Br, Margus On 2019/01/05 17:20:06, Jonathan Santilli <jonathansanti...@gmail.com> wrote: > 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 > partitions. > > Hope this helps or maybe you can provide more details about your doubt. > > Cheers! > -- > Jonathan > > > On Fri, Jan 4, 2019 at 4:29 PM <mar...@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 >