kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Wu <stevenz...@gmail.com>
Subject Re: Using Only one partition to store object change log
Date Fri, 30 Jan 2015 16:35:55 GMT
do you need total ordering among all events? or you just need ordering by
some partitionKey (e.g. events regarding one particular database key or
user id)? if it's the later, you can create multiple partitions and just
partition your events using the key to different kafka partitions.

On Fri, Jan 30, 2015 at 12:57 AM, noodles <rungumpth000@gmail.com> wrote:

> HI Group:
> I'm currently working to push object changes into external services. Now we
> are trying to append the change record into a Kafka.
> **My problem**
> Only one partition can be created for one kind of data, so that the
> sequence of change can be guaranteed. If I do like that, I guess I will
> lost the performance and the load balance feature.
> Do I need to worry about this problem?
> --
> *noodles!*

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