Skip to content

KAFKA-3355#2289

Closed
mgarmes wants to merge 104 commits intoapache:trunkfrom
mgarmes:master
Closed

KAFKA-3355#2289
mgarmes wants to merge 104 commits intoapache:trunkfrom
mgarmes:master

Conversation

@mgarmes
Copy link
Copy Markdown

@mgarmes mgarmes commented Dec 22, 2016

KAFKA-3355
GetOffsetShell command doesn't work with SASL enabled Kafka

GetOffsetShell command doesn't work with SASL enabled Kafka
@asfbot
Copy link
Copy Markdown

asfbot commented Dec 22, 2016

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/362/
Test FAILed (JDK 7 and Scala 2.10).

@asfbot
Copy link
Copy Markdown

asfbot commented Dec 22, 2016

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/363/
Test FAILed (JDK 8 and Scala 2.12).

@asfbot
Copy link
Copy Markdown

asfbot commented Dec 22, 2016

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/364/
Test FAILed (JDK 8 and Scala 2.11).

@ijuma
Copy link
Copy Markdown
Member

ijuma commented Dec 22, 2016

Thanks for the PR. Is there a reason to keep the old implementation?

@mgarmes mgarmes changed the title Master KAFKA-3355 Dec 26, 2016
@mgarmes
Copy link
Copy Markdown
Author

mgarmes commented Dec 30, 2016

Hello,

Can someone check this pull request ?

best regard

@ijuma
Copy link
Copy Markdown
Member

ijuma commented Dec 30, 2016

@garmes-gdev, did you see my question?

@mgarmes
Copy link
Copy Markdown
Author

mgarmes commented Dec 31, 2016

Hello @ijuma,
Thank you very much for your reply.
regarding you question, for my personal opinion I don't want to keep the old version, but I noticed in the others PR, contributors keep the both version so I did the same. if you think is it not useful I can delete it !!

best regards.

@ijuma
Copy link
Copy Markdown
Member

ijuma commented Jan 2, 2017

@garmes-gdev, the old version only needs to be kept if there's a reason to do so (maybe the new version is missing some functionality or is not as stable). If there is no reason to keep the old version, then we can simply replace it.

@mgarmes
Copy link
Copy Markdown
Author

mgarmes commented Jan 5, 2017

Hello @ijuma,
I eliminated the old version and I updated the tests.

@asfbot
Copy link
Copy Markdown

asfbot commented Jan 5, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/524/
Test PASSed (JDK 8 and Scala 2.12).

@asfbot
Copy link
Copy Markdown

asfbot commented Jan 5, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/525/
Test PASSed (JDK 8 and Scala 2.11).

@asfbot
Copy link
Copy Markdown

asfbot commented Jan 5, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/523/
Test PASSed (JDK 7 and Scala 2.10).

Aegeaner and others added 14 commits February 16, 2017 13:44
…me of the offending field.

https://issues.apache.org/jira/browse/KAFKA-4709

Author: Aegeaner <xihuke@gmail.com>

Reviewers: Dong Lin, Guozhang Wang

Closes #2521 from Aegeaner/KAFKA-4709
Author: Jason Gustafson <jason@confluent.io>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #2536 from hachikuji/minor-move-compression-io-construction
…y usage

Lowered the default RocksDB settings for the block cache and write buffers

Author: Damian Guy <damian.guy@gmail.com>

Reviewers: Eno Thereska, Guozhang Wang

Closes #2525 from dguy/kafka-4484
Author: Colin P. Mccabe <cmccabe@confluent.io>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #2559 from cmccabe/KAFKA-4775
…fault log.retention.ms

Author: Jiangjie Qin <becket.qin@gmail.com>

Reviewers: Jun Rao <junrao@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Closes #2544 from becketqin/KAFKA-4340_follow_up
More details:
* Replaced `struct` field in Request/Response with a `toStruct` method. This
makes the performance model (including memory usage) easier to understand.
Note that requests have `toStruct()` while responses have `toStruct(version)`.
* Replaced mutable `version` field in `Request.Builder` with an immutable
field `desiredVersion` and a `version` parameter passed to the `build` method.
* Optimised `handleFetchRequest` to avoid unnecessary creation of `Struct`
instances (from 4 to 2 in the worst case and 2 to 1 in the best case).
* Various clean-ups in request/response classes and their test. In particular,
it is now clear what we are testing. Previously, it looked like we were testing
more than we really were.

With this in place, we could remove `AbstractRequest.Builder` in the future by
doing the following:
* Change `AbstractRequest.toStruct` to accept a version (like responses).
* Change `AbstractRequest.version` to be `desiredVersion` (like `Builder`).
* Change `ClientRequest` to take `AbstractRequest`.
* Move validation from the `build` methods to the request constructors or
static factory methods.
* Anything else required for the code to compile again.

Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Apurva Mehta <apurva.1618@gmail.com>, Jason Gustafson <jason@confluent.io>

Closes #2513 from ijuma/separate-struct
Currently the checkpoint file is deleted at state store initialization and it is only ever written again during a clean shutdown. This can result in significant delays during restarts as the entire store needs to be loaded from the changelog.
We can mitigate against this by frequently checkpointing the offsets. The checkpointing happens only during the commit phase, i.e, after we have manually flushed the store and the producer. So we guarantee that the checkpointed offsets are never greater than what has been flushed.
In the event of hard failure we can recover by reading the checkpoints and consuming from the stored offsets.

Author: Damian Guy <damian.guy@gmail.com>

Reviewers: Eno Thereska, Matthias J. Sax, Guozhang Wang

Closes #2471 from dguy/kafka-4317
Author: Jason Gustafson <jason@confluent.io>

Reviewers: Colin P. Mccabe <cmccabe@confluent.io>, Ewen Cheslack-Postava <me@ewencp.org>

Closes #2566 from hachikuji/hotfix-request-logging
Author: Prabhat Kashyap <prabhat.kashyap@knoldus.in>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #2530 from PKOfficial/refactored-code
The throttling system test sometimes fail because it takes longer than the current 10 second time out for partitions to get assigned to the consumer.

Author: Apurva Mehta <apurva@confluent.io>

Reviewers: Ismael Juma <ismael@juma.me.uk>

Closes #2567 from apurvam/increase-timeout-for-partitions-assigned
…lass should be static

Author: Colin P. Mccabe <cmccabe@confluent.io>

Reviewers: Jason Gustafson <jason@confluent.io>, Ismael Juma <ismael@juma.me.uk>

Closes #2558 from cmccabe/KAFKA-4774
…rs are available

Author: Allen Xiang <allen.xiang@monsanto.com>

Reviewers: Jason Gustafson <jason@confluent.io>

Closes #2564 from allenxiang/client-heartbeat-fix
Fixed ClassCastException resulting from missing type hint in request logging.

Author: Armin Braun <me@obrown.io>

Reviewers: Jason Gustafson <jason@confluent.io>

Closes #2571 from original-brownbear/fix-logging-err-response
* Turned 3 inner classes that weren't static but could be into `static` ones.
* Turned one `public` inner class that wasn't used publicly into a `private`.

Trivial but imo worthwhile to explicitly keep visibility and "staticness" correct in syntax (if only to be nice to the GC) :)

Author: Armin Braun <me@obrown.io>

Reviewers: Matthias J. Sax <matthias@confluent.io>, Jason Gustafson <jason@confluent.io>

Closes #2574 from original-brownbear/cleanup-inner-nonstatic
adyach and others added 6 commits March 13, 2017 12:05
This commmit brings improved test coverage for window store fetch method
and WindowStoreIterator

Author: Andrey Dyachkov <andrey.dyachkov@zalando.de>

Reviewers: Damian Guy, Guozhang Wang

Closes #2672 from adyach/trunk
Both the headers and requests have regressed to just show object ids instead of their contents from their underlying structs. I'm guessing this regression came from commit [fc1cfe4](fc1cfe4)

Author: Onur Karaman <okaraman@linkedin.com>

Reviewers: Jiangjie Qin <becket.qin@gmail.com>

Closes #2678 from onurkaraman/KAFKA-4891
hachikuji

Author: Guozhang Wang <wangguoz@gmail.com>

Reviewers: Jason Gustafson <jason@confluent.io>

Closes #2679 from guozhangwang/KHotfix-serde-headers
Make sure that the iterator returned from `WindowStore.fetch(..)` only returns matching keys, rather than all keys that are a prefix match.

Author: Damian Guy <damian.guy@gmail.com>

Reviewers: Eno Thereska, Guozhang Wang

Closes #2662 from dguy/kafka-4863
Author: Ewen Cheslack-Postava <me@ewencp.org>

Reviewers: Guozhang Wang <wangguoz@gmail.com>

Closes #2599 from ewencp/kafka-4783-byte-array-converter
@asfbot
Copy link
Copy Markdown

asfbot commented Mar 15, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/2191/
Test FAILed (JDK 7 and Scala 2.10).

@asfbot
Copy link
Copy Markdown

asfbot commented Mar 15, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/2192/
Test FAILed (JDK 8 and Scala 2.12).

@asfbot
Copy link
Copy Markdown

asfbot commented Mar 15, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/2194/
Test FAILed (JDK 8 and Scala 2.11).

ijuma and others added 4 commits March 15, 2017 14:46
Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Manikumar reddy O <manikumar.reddy@gmail.com>

Closes #2690 from ijuma/fix-header-in-byte-array-converter
Author: Guozhang Wang <wangguoz@gmail.com>

Reviewers: Matthias J. Sax <matthias@confluent.io>, Eno Thereska <eno@confluent.io>, Damian Guy <damian.guy@gmail.com>, Jason Gustafson <jason@confluent.io>

Closes #2685 from guozhangwang/KMinor-improve-log4j
Author: Vahid Hashemian <vahidhashemian@us.ibm.com>

Reviewers: Sriharsha Chintalapani <harsha@hortonworks.com>

Closes #2674 from vahidhashemian/minor/fix_typos_1703
@asfbot
Copy link
Copy Markdown

asfbot commented Mar 16, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/2214/
Test FAILed (JDK 8 and Scala 2.11).

@asfbot
Copy link
Copy Markdown

asfbot commented Mar 16, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/2212/
Test FAILed (JDK 8 and Scala 2.12).

@asfbot
Copy link
Copy Markdown

asfbot commented Mar 16, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/2211/
Test FAILed (JDK 7 and Scala 2.10).

@asfbot
Copy link
Copy Markdown

asfbot commented Mar 16, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/2217/
Test FAILed (JDK 8 and Scala 2.11).

@asfbot
Copy link
Copy Markdown

asfbot commented Mar 16, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/2215/
Test FAILed (JDK 8 and Scala 2.12).

@asfbot
Copy link
Copy Markdown

asfbot commented Mar 16, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/2214/
Test FAILed (JDK 7 and Scala 2.10).

@mgarmes mgarmes closed this Mar 16, 2017
@asfbot
Copy link
Copy Markdown

asfbot commented Mar 16, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.11/2220/
Test PASSed (JDK 8 and Scala 2.11).

@asfbot
Copy link
Copy Markdown

asfbot commented Mar 16, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.10/2217/
Test PASSed (JDK 7 and Scala 2.10).

@asfbot
Copy link
Copy Markdown

asfbot commented Mar 16, 2017

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/2218/
Test PASSed (JDK 8 and Scala 2.12).

@ppanero
Copy link
Copy Markdown

ppanero commented Apr 18, 2017

Hello, is there any intention to merge/work more on this? @ijuma
Thanks in advance

@mgarmes
Copy link
Copy Markdown
Author

mgarmes commented Apr 21, 2017

Hello @ppanero,
a provide the fix for kafka 10 and is not merged so is no more compatible with 10.2 ! so I will try to provide the fix for this new version and I hop this time that someone merge it

Bests

@ppanero
Copy link
Copy Markdown

ppanero commented Apr 21, 2017

Thanks @garmes-gdev let me know if u need any help and I could contribute :D

@mgarmes
Copy link
Copy Markdown
Author

mgarmes commented Apr 21, 2017

@ppanero #2891

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.