kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xin Li <Xin...@trivago.com>
Subject Re: Best practice for publishing byte messages to Kafka
Date Thu, 11 Jan 2018 10:24:10 GMT
Protobuf?

On 11.01.18, 01:33, "Ali Nazemian" <alinazemian@gmail.com> wrote:

    Oops, I was mistaken. I meant serialization of an object as a byte array
    from the first place!
    
    On Wed, Jan 10, 2018 at 3:20 PM, Thunder Stumpges <
    thunder.stumpges@gmail.com> wrote:
    
    > Byte Array is essentially "serialized" already isn't it? I mean the message
    > itself is sent as a byte array, so the default byte array serializer is as
    > "efficient" as it gets, as it's just sending your byte array through as the
    > message... there's no serialization happening.
    > -Thunder
    >
    > On Tue, Jan 9, 2018 at 8:17 PM Ali Nazemian <alinazemian@gmail.com> wrote:
    >
    > > Thanks, Matt. Have you done any benchmarking to see how using different
    > > Serializers may impact throughput/latency?
    > >
    > > Regards,
    > > Ali
    > >
    > > On Wed, Jan 10, 2018 at 7:55 AM, Matt Farmer <matt@frmr.me> wrote:
    > >
    > > > We use the default byte array serializer provided with Kafka and it
    > works
    > > > great for us.
    > > >
    > > > > On Jan 9, 2018, at 8:12 AM, Ali Nazemian <alinazemian@gmail.com>
    > > wrote:
    > > > >
    > > > > Hi All,
    > > > >
    > > > > I was wondering whether there is any best practice/recommendation
for
    > > > > publishing byte messages to Kafka. Is there any specific Serializer
    > > that
    > > > is
    > > > > recommended for this matter?
    > > > >
    > > > > Cheers,
    > > > > Ali
    > > >
    > > >
    > >
    > >
    > > --
    > > A.Nazemian
    > >
    >
    
    
    
    -- 
    A.Nazemian
    

Mime
View raw message