I am afraid you can’t, the number of partitions can be added manually, but not dynamicly in function of your partition size.
> On 22 May 2015, at 09:42, ram kumar <ramkumarro...@gmail.com> wrote: > > max size of partition > > On Fri, May 22, 2015 at 12:04 PM, Carles Sistaré < > carles.sist...@googlemail.com> wrote: > >> Hi, >> If I understood it good, u need to specify the maximal size of a partition? >> Or you just need to know the actual size of your partitions.? >> Le 22 mai 2015 8:25 AM, "ram kumar" <ramkumarro...@gmail.com> a écrit : >> >>> thanks for the reply, >>> but i need to know the per partition size(bytes) >>> >>> On Fri, May 22, 2015 at 11:47 AM, Warren Henning < >> warren.henn...@gmail.com >>>> >>> wrote: >>> >>>> Yes, you can specify the partition count when creating a topic. >>>> >>>> http://kafka.apache.org/documentation.html#quickstart >>>> >>>> On Thu, May 21, 2015 at 11:05 PM, ram kumar <ramkumarro...@gmail.com> >>>> wrote: >>>> >>>>> Hi, >>>>> >>>>> can v specify the partition size of a particular topic >>>>> >>>> >>> >>