Re: Kafka encryption

2016-06-06 Thread Bruno Rassaerts
Indeed to get proper performance, messages need to be batched before encryption. However, this is not that straightforward to implement and Kafka has already a very good batching algorithm. For example, when do you decide to no longer wait for additional messages and send a non-full batch ? Not t

one question when upgrade from 0.8.2.2 to 0.10.0

2016-06-06 Thread Fredo Lee
hi, all i want to update my kafka cluster from 0.8.2.2 to 0.10.0. i follow the rules in kafka.apache.org and some errors happened. i don't want to stop my cluster. so i made these changes in server.property: change `port=9092` to `listener=PLAINTTEXT://:9092` add`inner.broker.protocol.ve

Re: one question when upgrade from 0.8.2.2 to 0.10.0

2016-06-06 Thread Ismael Juma
Hi Fredo, A comment below: On Mon, Jun 6, 2016 at 11:19 AM, Fredo Lee wrote: > add`inner.broker.protocol.version=0.8.2` > There's a typo here, it should be: inter.broker.protocol.version=0.8.2 Was the typo only in the email or also in your server properties file? Ismael

UnderReplicatedPartitions 0 while lead is only ISR member

2016-06-06 Thread Stevo Slavić
Hello Apache Kafka community, On 0.9.0.1 cluster, with all brokers up, I have a topic with single partition and replication factor of 3, min ISR is 2. When topic was created all 3 assigned replicas are in ISR. Now: 1. All brokers report UnderReplicatedPartitions of 0 while describe topic reports

RE: Kafka encryption

2016-06-06 Thread Martin Gainty
MG>quick questions for bruno and jim > Subject: Re: Kafka encryption > From: bruno.rassae...@novazone.be > Date: Mon, 6 Jun 2016 10:51:13 +0200 > CC: tcrayf...@heroku.com > To: users@kafka.apache.org > > Indeed to get proper performance, messages need to be batched before > encryption. > However

Re: Kafka encryption

2016-06-06 Thread Jim Hoagland
MG>Jim can we assume you only implement Asymmetric Cryptography? As described and depicted in the blog post, we used asymmetric cryptography as the basis for trust, with symmetric crypto doing the heavy lifting. Specifically, for each "envelope", we include a randomly generated AES key encrypted

Re: Kafka encryption

2016-06-06 Thread Tom Brown
How would it be possible to encrypt an entire batch? My understanding is that the Kafka server needs to know the boundaries of each message. (E.g. The server decompresses compressed message sets and re-compresses individual messages). Given that precedent, how could the server properly separate th

Re: Kafka encryption

2016-06-06 Thread Jim Hoagland
> Is this a case where multiple logical messages (when combined together) >are > treated by Kafka as a single message, and it's up to the consumer to > separate them? Yes. -- Jim On 6/6/16, 7:12 AM, "Tom Brown" wrote: >How would it be possible to encrypt an entire batch? My understanding >is

Re: Kafka encryption

2016-06-06 Thread Ismael Juma
On Mon, Jun 6, 2016 at 3:12 PM, Tom Brown wrote: > How would it be possible to encrypt an entire batch? My understanding > is that the Kafka server needs to know the boundaries of each message. > (E.g. The server decompresses compressed message sets and re-compresses > individual messages). > Qu

Re: Does the Kafka Streams DSL support non-Kafka sources/sinks?

2016-06-06 Thread Asaf Mesika
I'd stay off the Camel. It's performance is quite low. Up to 5-10 mb/sec it׳s ok but above that it will be your bottleneck. The problem with Camel is that sometime it's Endpoints have special behavior which is hard to understand and debugging it is a mess. We are now migrating away from it. On Fri

Re: [Kafka Streams] java.lang.IllegalArgumentException:Invalidtimestamp -1

2016-06-06 Thread Guozhang Wang
KAFKA-3716 should not be related, as it actually is pointing to a different issue. I re-ran the example demo but could not re-produce your issue. Is it possible that you have multiple Kafka jars in your repo and the older versions were used for the console producer? Guozhang On Sun, Jun 5, 20

Re: Changing default logger to RollingFileAppender (KAFKA-2394)

2016-06-06 Thread Dustin Cote
Thanks all for the feedback. It sounds like the RollingFileAppender is the preferred way to go anyway, so the default change could be documented in release notes unless there's an objection. On Thu, Jun 2, 2016 at 12:02 PM, Tauzell, Dave wrote: > The RollingFileAppender is required to use in pr

Re: Brokers changing mtime on data files during startup?

2016-06-06 Thread Dustin Cote
For those that have seen this issue on 0.9, can you provide some more insight into your environments? What OS and filesystem are you running? Do you find that you can reproduce the behavior with a simple java program that creates a file, writes to it, waits for a few minutes, then closes the file?

?????? [Kafka Streams] java.lang.IllegalArgumentException:Invalidtimestamp-1

2016-06-06 Thread ????
Here are jars I find in kafka libs, it seems nothing wrong. Can you post how you ran the demo? Maybe some problem how I ran it. -- -- ??: "Guozhang Wang";; : 2016??6??7??(??) 2:52 ??: "users@kafka.apache.org"; : Re: [Kaf

?????? [Kafka Streams] java.lang.IllegalArgumentException:Invalidtimestamp-1

2016-06-06 Thread ????
-- -- ??: "";<1429327...@qq.com>; : 2016??6??7??(??) 11:39 ??: "users"; : ?? [Kafka Streams] java.lang.IllegalArgumentException:Invalidtimestamp-1 Here are jars I find in kafka libs, it seems nothing wrong. Can

Re: Kafka encryption

2016-06-06 Thread Bruno Rassaerts
Yes, and if on top of that it would be possible to define an own “compression” algorithm, which actually does compress + encrypt, then this would be a non-issue. > On 06 Jun 2016, at 17:11, Ismael Juma wrote: > > On Mon, Jun 6, 2016 at 3:12 PM, Tom Brown wrote: > >> How would it be possible