Jason Gustafson
dc662776cd
KAFKA-3211: Handle WorkerTask stop before start correctly
...
Author: Jason Gustafson <jason@confluent.io>
Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>
Closes #874 from hachikuji/KAFKA-3211
9 years ago
Gwen Shapira
9b47f9a7f6
MINOR: log connect reconfiguration error only if there was an error
...
Author: Gwen Shapira <cshapi@gmail.com>
Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>
Closes #871 from gwenshap/fix-cc-log
9 years ago
Jason Gustafson
f8598f96df
HOTFIX: fix broken WorkerSourceTask test
...
Author: Jason Gustafson <jason@confluent.io>
Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>
Closes #859 from hachikuji/hotfix-worker-source-test
9 years ago
Jason Gustafson
1d80f563bc
KAFKA-3092: Replace SinkTask onPartitionsAssigned/onPartitionsRevoked with open/close
...
Author: Jason Gustafson <jason@confluent.io>
Reviewers: Liquan Pei <liquanpei@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>
Closes #815 from hachikuji/KAFKA-3092
9 years ago
Jason Gustafson
6dc9743125
KAFKA-2886: Handle sink task rebalance failures by stopping worker task
...
Author: Jason Gustafson <jason@confluent.io>
Reviewers: Liquan Pei <liquanpei@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>
Closes #767 from hachikuji/KAFKA-2886
9 years ago
Jason Gustafson
58def1cba0
MINOR: speed up connect startup when full connector class name is provided
...
Author: Jason Gustafson <jason@confluent.io>
Reviewers: Liquan Pei <liquanpei@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>
Closes #746 from hachikuji/worker-startup-improvement
9 years ago
Gwen Shapira
b93f48f749
KAFKA-2422: Allow copycat connector plugins to be aliased to simpler names
...
…names
Author: Gwen Shapira <cshapi@gmail.com>
Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>
Closes #687 from gwenshap/KAFKA-2422
9 years ago
Kishore Senji
2679524604
KAFKA-3055; Fix JsonConverter mangling the Schema in Connect
...
Author: ksenji <ksenji@ebay.com>
Reviewers: Dong Lin <lindong28@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>
Closes #722 from ksenji/trunk
9 years ago
glikson
bde49e3711
MINOR: Use "new line" delimeters in a portable way in a unit test
...
This fixes failure of the FileStreamSinkTaskTest unit test on Windows
Signed-off-by: glikson <gliksonil.ibm.com>
Author: glikson <glikson@il.ibm.com>
Reviewers: Guozhang Wang <wangguoz@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>
Closes #708 from glikson/file-ut-newline
9 years ago
manasvigupta
a0d21407cb
KAFKA-3009; Disallow star imports
...
Summary of code changes
------------------------------------
1) Added a new Checkstyle rule to flag any code using star imports
2) Fixed ALL existing code violations using star imports
Testing
-----------
Local build was successful
ALL JUnits ran successfully on local.
ewencp - Request you to please review changes. Thank you !
I state that the contribution is my original work and I license the work to the project under the project's open source license.
Author: manasvigupta <manasvigupta@yahoo.co.in>
Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>
Closes #700 from manasvigupta/KAFKA-3009
9 years ago
Ismael Juma
8c754c45af
MINOR: Change return type of `Schema.read` to be `Struct` instead of `Object`
...
We always return a `Struct` from `Schema.read` and this means that
we can remove a large number of casts.
Author: Ismael Juma <ismael@juma.me.uk>
Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>
Closes #684 from ijuma/schema-read-should-return-struct
9 years ago
Gwen Shapira
fdac34e6ab
MINOR: Updating comment that fell out of sync with code
...
Author: Gwen Shapira <cshapi@gmail.com>
Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>
Closes #681 from gwenshap/minor-herder-comment
9 years ago
Vahid Hashemian
3f3358b6d4
MINOR: Fix typos in code comments
...
Author: Vahid Hashemian <vahidhashemian@us.ibm.com>
Reviewers: Gwen Shapira
Closes #673 from vahidhashemian/typo02/fix_typos_in_code_comments
9 years ago
Edward Ribeiro
6e5bd2497a
KAFKA-2974; `==` is used incorrectly in a few places in Java code
...
A few issues found via static analysis.
Author: Edward Ribeiro <edward.ribeiro@gmail.com>
Author: Ismael Juma <ismael@juma.me.uk>
Reviewers: Gwen Shapira, Sriharsha Chintalapani, Guozhang Wang
Closes #652 from ijuma/use-equals-instead-of-==
9 years ago
Dong Lin
ef92a8ae74
KAFKA-2668; Add a metric that records the total number of metrics
...
onurkaraman becketqin Do you have time to review this patch? It addresses the ticket that jjkoshy filed in KAFKA-2668.
Author: Dong Lin <lindong28@gmail.com>
Reviewers: Onur Karaman <okaraman@linkedin.com>, Joel Koshy <jjkoshy@gmail.com>, Guozhang Wang <wangguoz@gmail.com>, Jun Rao <junrao@gmail.com>
Closes #328 from lindong28/KAFKA-2668
9 years ago
Jason Gustafson
ee6b5e044c
KAFKA-2667; Fix assertion depending on hash map order in KafkaBasedLogTest.testSendAndReadToEnd
...
Author: Jason Gustafson <jason@confluent.io>
Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>
Closes #642 from hachikuji/KAFKA-2667
9 years ago
Jason Gustafson
cd54fc8816
KAFKA-2931: add system test for consumer rolling upgrades
...
Author: Jason Gustafson <jason@confluent.io>
Reviewers: Ismael Juma, Guozhang Wang
Closes #619 from hachikuji/KAFKA-2931
9 years ago
Ewen Cheslack-Postava
75c7abd826
KAFKA-2906: Fix Connect javadocs, restrict only to api subproject, and clean up javadoc warnings.
...
Author: Ewen Cheslack-Postava <me@ewencp.org>
Reviewers: Gwen Shapira
Closes #599 from ewencp/kafka-2906-connect-javadocs
9 years ago
Ewen Cheslack-Postava
7b3d1bf6a3
KAFKA-2867: Fix missing WorkerSourceTask synchronization and handling of InterruptException.
...
Author: Ewen Cheslack-Postava <me@ewencp.org>
Reviewers: Jun Rao <junrao@gmail.com>
Closes #566 from ewencp/kafka-2867-fix-source-sync-and-interrupt
9 years ago
Ewen Cheslack-Postava
0f00ec97ae
KAFKA-2859: Fix deadlock in WorkerSourceTask.
...
Author: Ewen Cheslack-Postava <me@ewencp.org>
Reviewers: Gwen Shapira
Closes #554 from ewencp/kafka-2859-deadlock-worker-source-task
9 years ago
Ewen Cheslack-Postava
f1169f1da8
KAFKA-2848; Use client SSL/SASL config utilities in Kafka Connect to avoid duplication of configs.
...
Author: Ewen Cheslack-Postava <me@ewencp.org>
Reviewers: Jun Rao <junrao@gmail.com>
Closes #539 from ewencp/kafka-2848-reuse-ssl-sasl-client-configs
9 years ago
Ewen Cheslack-Postava
1408c670ea
KAFKA-2807: Fix Kafka Connect packaging and move VerifiableSource/Sink into runtime jar.
...
Gradle does not handle subprojects with the same name (top-level tools vs
connect/tools) properly, making the dependency impossible to express correctly
since we need to move the ThroughputThrottler class into the top level tools
project. Moving the current set of tools into the runtime jar works fine since
they are only used for system tests at the moment.
Author: Ewen Cheslack-Postava <me@ewencp.org>
Reviewers: Gwen Shapira
Closes #512 from ewencp/kafka-2807-redux
9 years ago
Ewen Cheslack-Postava
c6b8de4e68
KAFKA-2807: Move ThroughputThrottler back to tools jar to fix upgrade tests.
...
Author: Ewen Cheslack-Postava <me@ewencp.org>
Reviewers: Gwen Shapira
Closes #499 from ewencp/kafka-2807-relocate-throughput-throttler
9 years ago
Grant Henke
04827e6e99
KAFKA-2752: Follow up to fix checkstlye
...
Author: Grant Henke <granthenke@gmail.com>
Reviewers: Ewen Cheslack-Postava
Closes #492 from granthenke/fix
9 years ago
Ewen Cheslack-Postava
8db55618d5
KAFKA-2752: Add VerifiableSource/Sink connectors and rolling bounce Copycat system tests.
...
Author: Ewen Cheslack-Postava <me@ewencp.org>
Reviewers: Ben Stopford, Geoff Anderson, Guozhang Wang
Closes #432 from ewencp/kafka-2752-copycat-clean-bounce-test
9 years ago
Ewen Cheslack-Postava
403d89edea
KAFKA-2798: Use prefixedd configurations for Kafka Connect producer and consumer settings so they do not conflict with the distributed herder's settings.
...
Author: Ewen Cheslack-Postava <me@ewencp.org>
Reviewers: Gwen Shapira
Closes #486 from ewencp/kafka-2798-conflicting-herder-producer-consumer-configs
9 years ago
Ewen Cheslack-Postava
590a4616a1
KAFKA-2786: Only respond to SinkTask onPartitionsRevoked after the WorkerSinkTask has finished starting up.
...
Author: Ewen Cheslack-Postava <me@ewencp.org>
Reviewers: Gwen Shapira
Closes #476 from ewencp/kafka-2786-on-partitions-assigned-only-after-start
9 years ago
Ewen Cheslack-Postava
83eaf3284f
KAFKA-2379: Add basic documentation for Kafka Connect.
...
Author: Ewen Cheslack-Postava <me@ewencp.org>
Reviewers: Gwen Shapira
Closes #475 from ewencp/kafka-2379-connect-docs
9 years ago
Ewen Cheslack-Postava
75f2b8c8b4
KAFKA-2782: Fix KafkaBasedLogTest assertion and move it to the main test thread.
...
Author: Ewen Cheslack-Postava <me@ewencp.org>
Reviewers: Gwen Shapira
Closes #463 from ewencp/kafka-2782-fix-kafka-based-log-test-assertion
9 years ago
Ewen Cheslack-Postava
13ba57dcfc
KAFKA-2778: Use zero loss settings by default for Connect source producers.
...
Author: Ewen Cheslack-Postava <me@ewencp.org>
Reviewers: Gwen Shapira
Closes #459 from ewencp/kafka-2778-connect-source-zero-loss-settings
9 years ago
Ewen Cheslack-Postava
bc76e6704e
KAFKA-2775: Move exceptions into API package for Kafka Connect.
...
Author: Ewen Cheslack-Postava <me@ewencp.org>
Reviewers: Gwen Shapira
Closes #457 from ewencp/kafka-2775-exceptions-in-api-package
9 years ago
Ewen Cheslack-Postava
e9fc7b8c84
KAFKA-2776: Fix lookup of schema conversion cache size in JsonConverter.
...
Author: Ewen Cheslack-Postava <me@ewencp.org>
Reviewers: Gwen Shapira
Closes #458 from ewencp/kafka-2776-json-converter-cache-config-fix
9 years ago
Ewen Cheslack-Postava
f2031d4063
KAFKA-2774: Rename Copycat to Kafka Connect
...
Author: Ewen Cheslack-Postava <me@ewencp.org>
Reviewers: Gwen Shapira
Closes #456 from ewencp/kafka-2774-rename-copycat
9 years ago