Re: [DISCUSS] Kafka 2.0.0 in June 2018

2017-11-09 Thread Apurva Mehta
I think this is a good idea and your proposed changes look good. I also think that this might be a good time to adopt KIP-185 ( https://cwiki.apache.org/confluence/display/KAFKA/KIP-185%3A+Make+exactly+once+in+order+delivery+per+partition+the+default+producer+setting), and make the idempotent

Re: [VOTE] KIP-207:The Offsets which ListOffsetsResponse returns should monotonically increase even during a partition leader change

2017-10-17 Thread Apurva Mehta
+1 (non-binding) On Tue, Oct 17, 2017 at 11:11 AM, Colin McCabe wrote: > Hi all, > > I'd like to start the voting process for KIP-207:The Offsets which > ListOffsetsResponse returns should monotonically increase even during a > partition leader change. > > See >

[jira] [Created] (KAFKA-6053) NoSuchMethodError when creating ProducerRecord in upgrade system tests

2017-10-11 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-6053: --- Summary: NoSuchMethodError when creating ProducerRecord in upgrade system tests Key: KAFKA-6053 URL: https://issues.apache.org/jira/browse/KAFKA-6053 Project: Kafka

Re: [DISCUSS] KIP-207: Offsets returned by ListOffsetsResponse should be monotonically increasing even during a partition leader change

2017-10-06 Thread Apurva Mehta
Thanks for the KIP Colin. That looks like a reasonable proposal. On Thu, Oct 5, 2017 at 11:23 AM, Colin McCabe wrote: > Hi all, > > I created a KIP for discussion about fixing a corner case in > ListOffsetsResponse. Check it out at: >

[jira] [Created] (KAFKA-6016) Use the idempotent producer in the reassign_partitions_test

2017-10-04 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-6016: --- Summary: Use the idempotent producer in the reassign_partitions_test Key: KAFKA-6016 URL: https://issues.apache.org/jira/browse/KAFKA-6016 Project: Kafka

[jira] [Created] (KAFKA-6015) NPE in RecordAccumulator

2017-10-04 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-6015: --- Summary: NPE in RecordAccumulator Key: KAFKA-6015 URL: https://issues.apache.org/jira/browse/KAFKA-6015 Project: Kafka Issue Type: Bug Affects Versions

[jira] [Resolved] (KAFKA-5552) testTransactionalProducerTopicAuthorizationExceptionInCommit fails

2017-09-28 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta resolved KAFKA-5552. - Resolution: Cannot Reproduce Fix Version/s: (was: 1.1.0

[jira] [Resolved] (KAFKA-5865) Expiring batches with idempotence enabled could cause data loss.

2017-09-25 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta resolved KAFKA-5865. - Resolution: Fixed This is fixed in 1.0.0 by the changes in https://github.com/apache/kafka/pull

[jira] [Created] (KAFKA-5914) Return MessageFormatVersion and MessageMaxBytes in MetadataResponse

2017-09-15 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5914: --- Summary: Return MessageFormatVersion and MessageMaxBytes in MetadataResponse Key: KAFKA-5914 URL: https://issues.apache.org/jira/browse/KAFKA-5914 Project: Kafka

[jira] [Created] (KAFKA-5913) Add RecordMetadataNotAvailableException to indicate that ProduceResponse did not contain offset and timestamp information

2017-09-15 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5913: --- Summary: Add RecordMetadataNotAvailableException to indicate that ProduceResponse did not contain offset and timestamp information Key: KAFKA-5913 URL: https://issues.apache.org

[jira] [Created] (KAFKA-5912) Trogdor AgentTest.testAgentActivatesFaults is flaky

2017-09-15 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5912: --- Summary: Trogdor AgentTest.testAgentActivatesFaults is flaky Key: KAFKA-5912 URL: https://issues.apache.org/jira/browse/KAFKA-5912 Project: Kafka Issue Type

Re: system test builder

2017-09-15 Thread Apurva Mehta
Hi Ted, Unfortunately the jenkins.confluent.io address is no longer publicly accessible. Thanks, Apurva On Thu, Sep 14, 2017 at 7:35 PM, Ted Yu wrote: > Hi, > When I put the following in the address bar of Chrome: > >

[jira] [Created] (KAFKA-5897) The producerId can be reset unnecessarily

2017-09-14 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5897: --- Summary: The producerId can be reset unnecessarily Key: KAFKA-5897 URL: https://issues.apache.org/jira/browse/KAFKA-5897 Project: Kafka Issue Type

Re: [VOTE] KIP-192 : Provide cleaner semantics when idempotence is enabled

2017-09-13 Thread Apurva Mehta
The KIP has passed with three binding +1 votes (Guozhang, Ismael, Jason) and no -1 or +0 votes. Thanks to everyone for the feedback. Apurva On Mon, Sep 11, 2017 at 8:31 PM, Apurva Mehta <apu...@confluent.io> wrote: > Hi Becket, > > You are right: the calculations are per par

[jira] [Created] (KAFKA-5888) Transactions system test should check for message order

2017-09-13 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5888: --- Summary: Transactions system test should check for message order Key: KAFKA-5888 URL: https://issues.apache.org/jira/browse/KAFKA-5888 Project: Kafka Issue

[jira] [Resolved] (KAFKA-5621) The producer should retry expired batches when retries are enabled

2017-09-12 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta resolved KAFKA-5621. - Resolution: Won't Fix > The producer should retry expired batches when retries are enab

Re: [VOTE] KIP-192 : Provide cleaner semantics when idempotence is enabled

2017-09-11 Thread Apurva Mehta
about 35 MB of memory with 5 entries (142 > bytes) in cache. So it is probably still OK and it is more urgent to fix > the upgrade path. > > Thanks, > > Jiangjie (Becket) Qin > > > > > > On Mon, Sep 11, 2017 at 4:13 PM, Apurva Mehta <apu...@confluent.i

Re: [VOTE] KIP-192 : Provide cleaner semantics when idempotence is enabled

2017-09-11 Thread Apurva Mehta
because all > the cached entries are the entries that hasn't been confirmed by the > producer. > 2. no magic number of 5 max.in.flight.requests.per.connection > 3. bounded memory footprint on the cached sequence/timestamp/offset > entries. > > Hope it's not too late to have the changes if that makes

[jira] [Created] (KAFKA-5870) Idempotent producer: a producerId reset causes undesirable behavior for inflight batches to other partitions

2017-09-11 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5870: --- Summary: Idempotent producer: a producerId reset causes undesirable behavior for inflight batches to other partitions Key: KAFKA-5870 URL: https://issues.apache.org/jira/browse

Re: [VOTE] KIP-192 : Provide cleaner semantics when idempotence is enabled

2017-09-11 Thread Apurva Mehta
. Does anybody have any objections? Thanks, Apurva On Thu, Sep 7, 2017 at 9:44 PM, Apurva Mehta <apu...@confluent.io> wrote: > Thanks for the comments Ismael. > > I have gone ahead and incorporated all your suggestions in the KIP > document. You convinced me on adding

[jira] [Created] (KAFKA-5865) Expiring batches with idempotence enabled could cause data loss.

2017-09-08 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5865: --- Summary: Expiring batches with idempotence enabled could cause data loss. Key: KAFKA-5865 URL: https://issues.apache.org/jira/browse/KAFKA-5865 Project: Kafka

Re: [VOTE] KIP-91 Provide Intuitive User Timeouts in The Producer

2017-09-07 Thread Apurva Mehta
; to MAX_INT and the existing default value of > max.in.flight.request.per.connection==5, reordering becomes a possibility > by default. To prevent reordering, set > max.in.flight.request.per.connection==1. > > It does not hurt to mention it as it's a default behavior change? > > On 7 Sept

Re: [VOTE] KIP-91 Provide Intuitive User Timeouts in The Producer

2017-09-07 Thread Apurva Mehta
Thanks for the KIP Sumant, +1 from me. That is the most exhaustive 'Rejected Alternatives' section that I have seen :) One minor point: In the compatibility section, your note on 'max.in.flight.requests.per.connection == 5' resulting in out of order delivery is true irrespective of these

Re: [VOTE] KIP-192 : Provide cleaner semantics when idempotence is enabled

2017-09-07 Thread Apurva Mehta
e that. > > Thanks, > Ismael > > On Thu, Sep 7, 2017 at 9:51 PM, Apurva Mehta <apu...@confluent.io> wrote: > > > Hi, > > > > I'd like to start a vote for KIP-192: > > > > https://cwiki.apache.org/confluence/display/KAFKA/KIP- > > 192+%3A+Provide+cleaner+semantics+when+idempotence+is+enabled > > > > Thanks, > > Apurva > > >

Re: [VOTE] KIP-192 : Provide cleaner semantics when idempotence is enabled

2017-09-07 Thread Apurva Mehta
ble? > > > Guozhang > > > On Thu, Sep 7, 2017 at 2:25 PM, Jason Gustafson <ja...@confluent.io> > wrote: > > > +1. Thanks for the KIP. One nit: we could use int8 to represent the > message > > format version. That is how it is represented in the messages

Re: [DISCUSS] KIP-91 Provide Intuitive User Timeouts in The Producer

2017-09-07 Thread Apurva Mehta
I agree with what Ismael said. Having both retries and delivery.timeout.ms is confusing, and thus the goal is to not have a retries option at all once idempotence is fully battle tested and has become the entrenched default. Until that time, it makes sense to expire batch earlier than

[VOTE] KIP-192 : Provide cleaner semantics when idempotence is enabled

2017-09-07 Thread Apurva Mehta
Hi, I'd like to start a vote for KIP-192: https://cwiki.apache.org/confluence/display/KAFKA/KIP-192+%3A+Provide+cleaner+semantics+when+idempotence+is+enabled Thanks, Apurva

Re: [DISCUSS] KIP-192 - Provide cleaner semantics when idempotence is enabled

2017-09-06 Thread Apurva Mehta
ly, maybe we really should be returning the message > format version of each topic in the TopicMetadata response. A nice bonus of > doing so is that it gives the producer the ability to craft the right > format version ahead of time and avoid the need for conversion on the > broker. > > Th

Re: [DISCUSS] KIP-185: Make exactly once in order delivery per partition the default producer setting

2017-08-31 Thread Apurva Mehta
s > > * with acks=minIsr, the remote time of each request will be min(lag of 2 > > followers) > > > > Whatever your latency distribution is for replication, for any given > > remote time (say 100 ms), twice as many requests take longer than that > time > > with acks=all vs a

Re: [DISCUSS] KIP-185: Make exactly once in order delivery per partition the default producer setting

2017-08-30 Thread Apurva Mehta
rs > > On Wed, Aug 30, 2017 at 3:47 PM, Apurva Mehta <apu...@confluent.io> wrote: > > > Thanks Ismael and Jason, I filed a separate KIP to solve the problems > > identified through this discussion. I also incorporated Jason's comments > in > > that document: >

Re: [DISCUSS] KIP-185: Make exactly once in order delivery per partition the default producer setting

2017-08-30 Thread Apurva Mehta
ke sense > to > > include that here so that the OutOfOrderSequence error is unambiguous. > > > > Finally, do you plan to roll these proposals into the current KIP or do > > them separately? Probably makes sense to combine them since they both > > re

[DISCUSS] KIP-192 - Provide cleaner semantics when idempotence is enabled

2017-08-29 Thread Apurva Mehta
Hi, In the discussion of KIP-185 (enable idempotence by default), we discovered some shortcomings of the existing idempotent producer implementation. Fixing these issues requires changes to the ProduceRequest and ProduceResponse protocols as well as changes to the values of the

[jira] [Resolved] (KAFKA-5640) Look into making acks=all the default setting

2017-08-25 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta resolved KAFKA-5640. - Resolution: Duplicate This is a dup of https://issues.apache.org/jira/browse/KAFKA-5796 > L

[jira] [Created] (KAFKA-5796) Understand performance implications of acks=all and potential ways to reduce it

2017-08-25 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5796: --- Summary: Understand performance implications of acks=all and potential ways to reduce it Key: KAFKA-5796 URL: https://issues.apache.org/jira/browse/KAFKA-5796 Project

[jira] [Created] (KAFKA-5795) Make the idempotent producer the default producer setting

2017-08-25 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5795: --- Summary: Make the idempotent producer the default producer setting Key: KAFKA-5795 URL: https://issues.apache.org/jira/browse/KAFKA-5795 Project: Kafka Issue

[jira] [Created] (KAFKA-5794) Introduce new idempotence mode to gracefully deal with topics on the older message format

2017-08-25 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5794: --- Summary: Introduce new idempotence mode to gracefully deal with topics on the older message format Key: KAFKA-5794 URL: https://issues.apache.org/jira/browse/KAFKA-5794

[jira] [Created] (KAFKA-5793) Tighten up situations where OutOfOrderSequence may be returned

2017-08-25 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5793: --- Summary: Tighten up situations where OutOfOrderSequence may be returned Key: KAFKA-5793 URL: https://issues.apache.org/jira/browse/KAFKA-5793 Project: Kafka

[jira] [Created] (KAFKA-5792) Transient failure in KafkaAdminClientTest.testHandleTimeout

2017-08-25 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5792: --- Summary: Transient failure in KafkaAdminClientTest.testHandleTimeout Key: KAFKA-5792 URL: https://issues.apache.org/jira/browse/KAFKA-5792 Project: Kafka

Re: [DISCUSS] KIP-190 Asynchronous Java Kafka Producer

2017-08-21 Thread Apurva Mehta
Hi Pavel, I believe that you have been added as a contributor on the Wiki. You can move your KIP to the correct space now. Note that you will need to reassign the KIP number since 190 is already taken. Thanks, Apurva On Mon, Aug 21, 2017 at 10:52 AM, Apurva Mehta <apu...@confluent.io>

Re: [DISCUSS] KIP-190 Asynchronous Java Kafka Producer

2017-08-21 Thread Apurva Mehta
Hi Pavel, Thanks for the KIP. You need to be added to the contributors list before you can modify the Kafka wiki space. One of the committers will add you and let you know when it has happened. After that, you can create the KIP in the right space. Thanks, Apurva On Fri, Aug 18, 2017 at 12:55

Re: [DISCUSS] KIP-185: Make exactly once in order delivery per partition the default producer setting

2017-08-18 Thread Apurva Mehta
Thanks Jason and Ismael. The message format problem is an acute one: if we enable idempotence by default, the UnsupportedVersionException when writing to topics with the older message format would mean that our prescribed upgrade steps would not work. I have detailed the problems and the

Re: [DISCUSS] KIP-185: Make exactly once in order delivery per partition the default producer setting

2017-08-17 Thread Apurva Mehta
Is that correct? > > Overall I'm definitely supportive of making idempotence the default > eventually, but I think it might be a tad premature now. > > Thanks, > Jason > > On Wed, Aug 16, 2017 at 8:58 PM, Apurva Mehta <apu...@confluent.io> wrote: > > >

Re: [DISCUSS] KIP-185: Make exactly once in order delivery per partition the default producer setting

2017-08-16 Thread Apurva Mehta
is > turned > > > on, > > > > but this is not enforced at the broker but relying at the client > side's > > > > sanity. So other implementations of the client that may not obey this > > may > > > > likely break the broker code. If w

Re: [DISCUSS] KIP-185: Make exactly once in order delivery per partition the default producer setting

2017-08-14 Thread Apurva Mehta
that may not obey this may > > likely break the broker code. If we do enforce this we'd better enforce > it > > at the broker side. Also, I'm wondering if we have considered the > approach > > for brokers to read the logs in order to get the starting offset when it > > doe

Re: [DISCUSS] KIP-185: Make exactly once in order delivery per partition the default producer setting

2017-08-14 Thread Apurva Mehta
Hello, I just want to summarize where we are in this discussion There are two major points of contention: should we have acks=1 or acsk=all by default? and how to cap max.in.flight.requests.per.connection? 1) acks=1 vs acks=all1 Here are the tradeoffs of each: If you have

Re: [DISCUSS] KIP-185: Make exactly once in order delivery per partition the default producer setting

2017-08-12 Thread Apurva Mehta
I think the question of the default broker level configs is a good one. I don't think we need to touch the min.isr config or the replication factor to satisfy 'exactly-once' going by the definition laid out earlier. On the broker side, I think the only thing we should change is to disable unclean

Re: Using Java Kafka Producer API for nearly Real Time Applications

2017-08-11 Thread Apurva Mehta
here is no available memory in buffer then report > to me immidiately that there is not enough memory. > > > 2017-08-11 21:04 GMT+03:00 Apurva Mehta <apu...@confluent.io>: > > > What precise use case do you have in mind? If you don't have cluster > > meta

Re: [VOTE] KIP-180: Adding a new metric for brokers specifying the number of consumer group rebalances in progress

2017-08-11 Thread Apurva Mehta
+1, Thanks, Apurva On Fri, Aug 11, 2017 at 3:02 PM, Bill Bejeck wrote: > +1 > > Thanks, > Bill > > On Fri, Aug 11, 2017 at 6:00 PM, Colin McCabe wrote: > > > Hi all, > > > > I think it's a good time to vote on KIP-180. It adds a helpful new > > metric

Re: [DISCUSS] KIP-185: Make exactly once in order delivery per partition the default producer setting

2017-08-11 Thread Apurva Mehta
s to > send, we need to have max.in.flight.requests ~ 20 in order to fully utilize > the network bandwidth. When the requests are smaller, we will need to > pipeline more requests. > > Thanks, > > Jiangjie (Becket) Qin > > > > > On Thu, Aug 10, 2017 at 10:4

Re: Using Java Kafka Producer API for nearly Real Time Applications

2017-08-11 Thread Apurva Mehta
What precise use case do you have in mind? If you don't have cluster metadata, you can't send the requests anyway. If you want to bound your memory and run out of it, that means that you are not able to send data for some reason. The best you can do in both cases is to drop old messages from the

Re: [DISCUSS] KIP-185: Make exactly once in order delivery per partition the default producer setting

2017-08-10 Thread Apurva Mehta
ong benefit of doing so (e.g. exactly-once). > > Thanks, > Dong > > > > > On Wed, Aug 9, 2017 at 10:43 PM, Apurva Mehta <apu...@confluent.io> wrote: > > > Thanks for your email Becket. > > > > Your observations around using acks=1 and acks=-1 are co

Re: [DISCUSS] KIP-185: Make exactly once in order delivery per partition the default producer setting

2017-08-09 Thread Apurva Mehta
g a cap on the max.in.flight.requests. It seems > that on some long RTT link, sending more requests in the pipeline would be > the only way to keep the latency to be close to RTT. > > Thanks, > > Jiangjie (Becket) Qin > > > On Wed, Aug 9, 2017 at 11:28 AM, Apurva Mehta <apu...@c

Re: [DISCUSS] KIP-91 Provide Intuitive User Timeouts in The Producer

2017-08-09 Thread Apurva Mehta
> > There seems to be no relationship with cluster metadata availability or > > staleness. Expiry is just based on the time since the batch has been > ready. > > Please correct me if I am wrong. > > > > I was not very specific about where we do expiration. I glossed over some > details because

Re: [DISCUSS] KIP-186: Increase offsets retention default to 7 days

2017-08-09 Thread Apurva Mehta
Thanks for the KIP. +1 from me. On Tue, Aug 8, 2017 at 5:24 PM, Ewen Cheslack-Postava wrote: > Hi all, > > I posted a simple new KIP for a problem we see with a lot of users: > KIP-186: Increase offsets retention default to 7 days > >

Re: [DISCUSS] KIP-185: Make exactly once in order delivery per partition the default producer setting

2017-08-09 Thread Apurva Mehta
Thanks for the comments Ismael and Jason. Regarding the OutOfOrderSequenceException, it is more likely when you enable idempotence and have acks=1, simply because you have a greater probability of losing acknowledged data with acks=1, and the error code indicates that. The particular scenario is

Re: [DISCUSS] KIP-185: Make exactly once in order delivery per partition the default producer setting

2017-08-09 Thread Apurva Mehta
oned above, this means that each acknowledged send should result in exactly one copy of the message in the log. With acks=1, we can only ever have at-most once delivery, ie. an acknowledged send could result in 0 copies of the message in the log. Please let me know if I have missed something. Th

[DISCUSS] KIP-185: Make exactly once in order delivery per partition the default producer setting

2017-08-08 Thread Apurva Mehta
Hi, I've put together a new KIP which proposes to ship Kafka with its strongest delivery guarantees by default. We currently ship with at most once semantics and don't provide any ordering guarantees per partition. The proposal is is to provide exactly once in order delivery per partition by

Re: [DISCUSS] KIP-180: Add a broker metric specifying the number of consumer group rebalances in progress

2017-08-07 Thread Apurva Mehta
Hi Colin, The KIP looks good to me. In your latest proposal, the change of state would be captured as followed in the metrics for groups using Kafka for membership management: PreparingRebalance -> CompletingRebalance -> Stable -> Dead? If a group is just being used to store offsets, then it is

Re: [DISCUSS] KIP-91 Provide Intuitive User Timeouts in The Producer

2017-08-07 Thread Apurva Mehta
Responses inline: On Mon, Aug 7, 2017 at 9:37 AM, Sumant Tambe wrote: > > > > > However, one thing which has not come out of the JIRA discussion is the > > actual use cases for batch expiry. > > There are two usecases I can think of for batch expiry mechanism > irrespective

Re: [DISCUSS] KIP-91 Provide Intuitive User Timeouts in The Producer

2017-08-04 Thread Apurva Mehta
If we are going to have a separate configuration for expiry, I prefer my proposal of max.message.delivery.wait.ms and its semantics. However, one thing which has not come out of the JIRA discussion is the actual use cases for batch expiry. Also, the KIP document states the following: *The per

[jira] [Created] (KAFKA-5679) Add logging to distinguish between internally and externally initiated shutdown of Kafka

2017-07-30 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5679: --- Summary: Add logging to distinguish between internally and externally initiated shutdown of Kafka Key: KAFKA-5679 URL: https://issues.apache.org/jira/browse/KAFKA-5679

[jira] [Created] (KAFKA-5663) LogDirFailureTest system test fails

2017-07-26 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5663: --- Summary: LogDirFailureTest system test fails Key: KAFKA-5663 URL: https://issues.apache.org/jira/browse/KAFKA-5663 Project: Kafka Issue Type: Bug

[jira] [Created] (KAFKA-5662) We should be able to specify min.insync.replicas for the __consumer_offsets topic

2017-07-26 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5662: --- Summary: We should be able to specify min.insync.replicas for the __consumer_offsets topic Key: KAFKA-5662 URL: https://issues.apache.org/jira/browse/KAFKA-5662

[jira] [Created] (KAFKA-5661) Develop and understanding of how to tune transactions for optimal performance

2017-07-26 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5661: --- Summary: Develop and understanding of how to tune transactions for optimal performance Key: KAFKA-5661 URL: https://issues.apache.org/jira/browse/KAFKA-5661 Project

[jira] [Created] (KAFKA-5640) Look into making acks=all the default setting.

2017-07-25 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5640: --- Summary: Look into making acks=all the default setting. Key: KAFKA-5640 URL: https://issues.apache.org/jira/browse/KAFKA-5640 Project: Kafka Issue Type: Sub

Re: Consumer throughput drop

2017-07-20 Thread Apurva Mehta
Hi Ovidu, The see-saw behavior is inevitable with linux when you have concurrent reads and writes. However, tuning the following two settings may help achieve more stable performance (from Jay's link): > *dirty_ratio*Defines a percentage value. Writeout of dirty data begins > (via *pdflush*)

[jira] [Created] (KAFKA-5621) The producer should retry expired batches when retries are enabled

2017-07-20 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5621: --- Summary: The producer should retry expired batches when retries are enabled Key: KAFKA-5621 URL: https://issues.apache.org/jira/browse/KAFKA-5621 Project: Kafka

[jira] [Created] (KAFKA-5610) KafkaApis.handleWriteTxnMarkerRequest can return UNSUPPORTED_FOR_MESSAGE_FORMAT error on partition emigration

2017-07-19 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5610: --- Summary: KafkaApis.handleWriteTxnMarkerRequest can return UNSUPPORTED_FOR_MESSAGE_FORMAT error on partition emigration Key: KAFKA-5610 URL: https://issues.apache.org/jira/browse

[jira] [Created] (KAFKA-5604) All producer methods should raise `ProducerFencedException` after the first time.

2017-07-17 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5604: --- Summary: All producer methods should raise `ProducerFencedException` after the first time. Key: KAFKA-5604 URL: https://issues.apache.org/jira/browse/KAFKA-5604

[jira] [Created] (KAFKA-5543) We don't remove the LastStableOffsetLag metric when a partition is moved away from a broker

2017-06-29 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5543: --- Summary: We don't remove the LastStableOffsetLag metric when a partition is moved away from a broker Key: KAFKA-5543 URL: https://issues.apache.org/jira/browse/KAFKA-5543

[jira] [Created] (KAFKA-5494) Idempotent producer should not require max.in.flight.requests.per.connection=1 and acks=all

2017-06-21 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5494: --- Summary: Idempotent producer should not require max.in.flight.requests.per.connection=1 and acks=all Key: KAFKA-5494 URL: https://issues.apache.org/jira/browse/KAFKA-5494

[jira] [Created] (KAFKA-5491) The ProducerPerformance tool should support transactions

2017-06-21 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5491: --- Summary: The ProducerPerformance tool should support transactions Key: KAFKA-5491 URL: https://issues.apache.org/jira/browse/KAFKA-5491 Project: Kafka Issue

Re: [VOTE] 0.11.0.0 RC1

2017-06-21 Thread Apurva Mehta
Hi Tom, I actually made modifications to the produce performance tool to do real transactions earlier this week as part of our benchmarking (results published here: bit.ly/kafka-eos-perf). I just submitted that patch here: https://github.com/apache/kafka/pull/3400/files I think my version is

[jira] [Created] (KAFKA-5482) A CONCURRENT_TRANASCTIONS error for the first AddPartitionsToTxn request slows down transactions significantly

2017-06-20 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5482: --- Summary: A CONCURRENT_TRANASCTIONS error for the first AddPartitionsToTxn request slows down transactions significantly Key: KAFKA-5482 URL: https://issues.apache.org/jira/browse

[jira] [Created] (KAFKA-5477) TransactionalProducer sleeps unnecessarily long during back to back transactions

2017-06-19 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5477: --- Summary: TransactionalProducer sleeps unnecessarily long during back to back transactions Key: KAFKA-5477 URL: https://issues.apache.org/jira/browse/KAFKA-5477 Project

[jira] [Created] (KAFKA-5457) RecordAccumulator.hasRoomfor doesn't take into account the headers while computing available space

2017-06-15 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5457: --- Summary: RecordAccumulator.hasRoomfor doesn't take into account the headers while computing available space Key: KAFKA-5457 URL: https://issues.apache.org/jira/browse/KAFKA-5457

[jira] [Updated] (KAFKA-5449) Flaky test TransactionsTest.testReadCommittedConsumerShouldNotSeeUndecidedData

2017-06-15 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta updated KAFKA-5449: Priority: Blocker (was: Major) > Flaky t

[jira] [Assigned] (KAFKA-5449) Flaky test TransactionsTest.testReadCommittedConsumerShouldNotSeeUndecidedData

2017-06-15 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta reassigned KAFKA-5449: --- Assignee: Jason Gustafson (was: Apurva Mehta) > Flaky t

[jira] [Created] (KAFKA-5455) Update java docs for consumer and producer to be up to date for EOS

2017-06-15 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5455: --- Summary: Update java docs for consumer and producer to be up to date for EOS Key: KAFKA-5455 URL: https://issues.apache.org/jira/browse/KAFKA-5455 Project: Kafka

[jira] [Updated] (KAFKA-5455) Update java docs for consumer and producer to be up to date for EOS

2017-06-15 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta updated KAFKA-5455: Labels: exactly-once (was: ) > Update java docs for consumer and producer to be up to date for

[jira] [Commented] (KAFKA-5449) Flaky test TransactionsTest.testReadCommittedConsumerShouldNotSeeUndecidedData

2017-06-14 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16049800#comment-16049800 ] Apurva Mehta commented on KAFKA-5449: - With the latest patch, it appears that the producer which

[jira] [Assigned] (KAFKA-5449) Flaky test TransactionsTest.testReadCommittedConsumerShouldNotSeeUndecidedData

2017-06-14 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta reassigned KAFKA-5449: --- Assignee: Apurva Mehta > Flaky t

[jira] [Assigned] (KAFKA-5020) Update protocol documentation to mention message format v2

2017-06-13 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5020?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta reassigned KAFKA-5020: --- Assignee: Apurva Mehta > Update protocol documentation to mention message format

[jira] [Resolved] (KAFKA-5317) Update KIP-98 to reflect changes during implementation.

2017-06-13 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta resolved KAFKA-5317. - Resolution: Fixed > Update KIP-98 to reflect changes during implementat

[jira] [Commented] (KAFKA-5317) Update KIP-98 to reflect changes during implementation.

2017-06-13 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16048515#comment-16048515 ] Apurva Mehta commented on KAFKA-5317: - I updated both the wiki and the google doc to reflect

[jira] [Updated] (KAFKA-5052) We shouldn't pass the underlying exception to RetriableCommitFailedException when an async offset commit fails.

2017-06-13 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta updated KAFKA-5052: Description: * This is a follow up to : https://issues.apache.org/jira/browse/KAFKA-3527 We

[jira] [Updated] (KAFKA-5441) Fix transaction marker grouping by producerId in TC

2017-06-13 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta updated KAFKA-5441: Labels: exactly-once (was: ) > Fix transaction marker grouping by producerId in

[jira] [Assigned] (KAFKA-5317) Update KIP-98 to reflect changes during implementation.

2017-06-12 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta reassigned KAFKA-5317: --- Assignee: Apurva Mehta > Update KIP-98 to reflect changes during implementat

[jira] [Updated] (KAFKA-5438) UnsupportedOperationException in WriteTxnMarkers handler

2017-06-12 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta updated KAFKA-5438: Labels: exactly-once (was: ) > UnsupportedOperationException in WriteTxnMarkers hand

[jira] [Assigned] (KAFKA-5436) NullPointerException when loading producer snapshot

2017-06-12 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta reassigned KAFKA-5436: --- Assignee: Jason Gustafson (was: Apurva Mehta) > NullPointerException when loading produ

[jira] [Updated] (KAFKA-5436) NullPointerException when loading producer snapshot

2017-06-12 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta updated KAFKA-5436: Issue Type: Sub-task (was: Bug) Parent: KAFKA-4815 > NullPointerException when load

[jira] [Created] (KAFKA-5436) NullPointerException when loading producer snapshot

2017-06-12 Thread Apurva Mehta (JIRA)
Apurva Mehta created KAFKA-5436: --- Summary: NullPointerException when loading producer snapshot Key: KAFKA-5436 URL: https://issues.apache.org/jira/browse/KAFKA-5436 Project: Kafka Issue Type

[jira] [Updated] (KAFKA-5428) Transactional producer aborts batches incorrectly in abortable error state

2017-06-12 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5428?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta updated KAFKA-5428: Labels: exactly-once (was: ) > Transactional producer aborts batches incorrectly in aborta

[jira] [Updated] (KAFKA-5427) Transactional producer cannot find coordinator when trying to abort transaction after error

2017-06-12 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta updated KAFKA-5427: Labels: exactly-once (was: ) > Transactional producer cannot find coordinator when trying to ab

[jira] [Updated] (KAFKA-5342) Distinguish abortable failures in transactional producer

2017-06-09 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta updated KAFKA-5342: Fix Version/s: (was: 0.11.0.0) 0.11.0.1 > Distinguish abortable failu

[jira] [Updated] (KAFKA-5286) Producer should await transaction completion in close

2017-06-09 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta updated KAFKA-5286: Fix Version/s: (was: 0.11.0.0) 0.11.0.1 > Producer should await transact

[jira] [Updated] (KAFKA-5415) TransactionCoordinator doesn't complete transition to PrepareCommit state

2017-06-09 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Apurva Mehta updated KAFKA-5415: Status: Patch Available (was: Open) > TransactionCoordinator doesn't complete transit

[jira] [Comment Edited] (KAFKA-5415) TransactionCoordinator doesn't complete transition to PrepareCommit state

2017-06-09 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16045162#comment-16045162 ] Apurva Mehta edited comment on KAFKA-5415 at 6/9/17 10:48 PM: -- The last

[jira] [Commented] (KAFKA-5415) TransactionCoordinator doesn't complete transition to PrepareCommit state

2017-06-09 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16045162#comment-16045162 ] Apurva Mehta commented on KAFKA-5415: - The last successful metadata update was the following

[jira] [Commented] (KAFKA-5415) TransactionCoordinator doesn't complete transition to PrepareCommit state

2017-06-09 Thread Apurva Mehta (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-5415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16045151#comment-16045151 ] Apurva Mehta commented on KAFKA-5415: - The problem here seem to be this check: https://github.com

  1   2   3   4   5   >