Commit Graph

2403 Commits

Author SHA1 Message Date
Rajini Sivaram 9f583d96f6 KAFKA-3662; Fix timing issue in SocketServerTest.tooBigRequestIsRejected
Test sends large request using multiple writes of length followed by request body. The first write should succeed, but since the server closes the connection on processing the length that is too big, subsequent writes may fail. Modified test to handle this exception.

Author: Rajini Sivaram <rajinisivaram@googlemail.com>

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

Closes #1349 from rajinisivaram/KAFKA-3662

(cherry picked from commit bce3415b18)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-05-09 14:48:19 +01:00
Ismael Juma 7a0b9eb063 KAFKA-3675; Add lz4 to parametrized `test_upgrade` system test
Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1343 from ijuma/kafka-3675-lz4-test-upgrade

(cherry picked from commit f5b98b8fa7)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-05-09 00:22:34 -07:00
Jason Gustafson 1ee36c940e KAFKA-3674: Ensure connector target state changes propagated to worker
Author: Jason Gustafson <jason@confluent.io>

Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1341 from hachikuji/KAFKA-3674

(cherry picked from commit 8911660e2e)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-05-09 00:12:56 -07:00
Liquan Pei 18f643b82b MINOR: Move connect.start() to try catch block
Author: Liquan Pei <liquanpei@gmail.com>

Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1347 from Ishiihara/connect-standalone
2016-05-08 23:52:56 -07:00
Liquan Pei 76fa376e23 KAFKA-3673: Connect tests don't handle concurrent config changes
Author: Liquan Pei <liquanpei@gmail.com>

Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1340 from Ishiihara/connect-test-failure

(cherry picked from commit dbafc631ad)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-05-08 23:51:06 -07:00
Liquan Pei 120baf9781 KAFKA 3671: Move topics to SinkConnectorConfig
Author: Liquan Pei <liquanpei@gmail.com>

Reviewers: Dan Norwood <norwood@confluent.io>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1335 from Ishiihara/sink-connector-config

(cherry picked from commit d1bb2b9df1)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-05-08 22:26:50 -07:00
Vahid Hashemian 9f86c62a84 KAFKA-3579; Reference both old and new consumer properties in `TopicCommand`
Add references to the new consumer property 'max.partition.fetch.bytes' along with the old consumer property 'fetch.message.max.bytes' in the corresponding warning messages of TopicCommand.
Also, create and leverage a static variable for the default value of the new consumer property.
Also, use 'DEFAULT_...' for default propoerty constant names in the code instead of '..._DEFAULT'.

Author: Vahid Hashemian <vahidhashemian@us.ibm.com>

Reviewers: Manikumar reddy O <manikumar.reddy@gmail.com>, Ashish Singh <asingh@cloudera.com>, Grant Henke <granthenke@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Closes #1239 from vahidhashemian/KAFKA-3579

(cherry picked from commit 62b9fa2254)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-05-08 23:05:22 +01:00
Ismael Juma a1afbab3ed KAFKA-3670; ControlledShutdownLeaderSelector should pick the preferred replica as the new leader, if possible
Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Jun Rao <junrao@gmail.com>

Closes #1338 from ijuma/kafka-3670-controlled-shutdown-leader-selector-preferred-replica

(cherry picked from commit 51f7a35c92)
Signed-off-by: Jun Rao <junrao@gmail.com>
2016-05-08 10:46:05 -07:00
Dana Powers c8ef1778c9 KAFKA-3160; Fix LZ4 Framing
This contribution is my original work and I license the work under Apache 2.0.

Author: Dana Powers <dana.powers@gmail.com>
Author: Ismael Juma <ismael@juma.me.uk>

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

Closes #1212 from dpkp/KAFKA-3160

(cherry picked from commit 8fe2552239)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-05-07 19:36:29 +01:00
Jonathan Bond 2277b3c43e KAFKA-3112; Warn instead of error on unresolvable bootstrap server
so that unresolvable DNS names are ignored and only throw an error if no other bootstrap servers are resolvable.

Author: Jonathan Bond <jbond@netflix.com>

Reviewers: Ewen Cheslack-Postava <me@ewencp.org>, Grant Henke <granthenke@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Closes #792 from bondj/KAFKA-3112

(cherry picked from commit c4bbf34243)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-05-07 09:06:10 +01:00
Chen Zhu b904a427c0 KAFKA-3655; awaitFlushCompletion() in RecordAccumulator should always decrement flushesInProgress count
Author: Chen Zhu <amandazhu19620701@gmail.com>

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

Closes #1315 from zhuchen1018/KAFKA-3655

(cherry picked from commit 717eea8350)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-05-06 21:58:10 +01:00
Mark Grover 7ad2d3df8e KAFKA-3669; Add secondary constructor for KafkaConfig with a default value for doLog
…value for doLog

Author: Mark Grover <mark@apache.org>

Reviewers: Grant Henke <granthenke@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Closes #1334 from markgrover/kafka-3669-trunk

(cherry picked from commit 58f9d7cf8a)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-05-06 21:47:12 +01:00
Geoff Anderson aabf825145 KAFKA-3592: System test - configurable paths
This patch adds logic for the following:
- remove hard-coded paths to various scripts and jars in kafkatest service classes
- provide a mechanism for overriding path resolution logic with a "pluggable" path resolver class

Author: Geoff Anderson <geoff@confluent.io>

Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1245 from granders/configurable-install-path

(cherry picked from commit 54092c12ed)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-05-06 11:11:51 -07:00
Yuto Kawamura cda571dfc0 KAFKA-3616: Make kafka producers/consumers injectable for KafkaStreams
Ticket: https://issues.apache.org/jira/browse/KAFKA-3616

Author: Yuto Kawamura <kawamuray.dadada@gmail.com>

Reviewers: Guozhang Wang <wangguoz@gmail.com>

Closes #1264 from kawamuray/kafka-3616-inject-clients
2016-05-06 08:51:39 -07:00
Dustin Cote 4d0b06e838 KAFKA-3666; Update links for new consumer API
Pull request to update the consumer API links in the docs.

Author: Dustin Cote <dustin@dustins-mbp.attlocal.net>

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

Closes #1331 from cotedm/KAFKA-3666

(cherry picked from commit 78de891ace)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-05-06 16:33:51 +01:00
Jason Gustafson 69bc4cac46 KAFKA-3627: consumer fails to execute delayed tasks in poll when records are available
Author: Jason Gustafson <jason@confluent.io>

Reviewers: Liquan Pei <liquanpei@gmail.com>, Jiangjie Qin <becket.qin@gmail.com>, Guozhang Wang <wangguoz@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1295 from hachikuji/KAFKA-3627

(cherry picked from commit 2ff955044a)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-05-05 22:24:19 -07:00
Guozhang Wang a037d17663 HOTFIX: follow-up on KAFKA-725 to remove the check and return empty response instead of throw exceptions
Author: Guozhang Wang <wangguoz@gmail.com>

Reviewers: Stig Døssing, Ismael Juma, Jun Rao

Closes #1327 from guozhangwang/K725r

(cherry picked from commit 4a076a03be)
Signed-off-by: Guozhang Wang <wangguoz@gmail.com>
2016-05-05 16:55:31 -07:00
Mayuresh Gharat f255cefb7d KAFKA-3651; Remove the condition variable waiting on memory availability in Bufferpool when a TimeoutException is thrown
Whenever the BufferPool throws a "Failed to allocate memory within the configured max blocking time" exception, it should also remove the condition object from the waiters deque

Author: MayureshGharat <gharatmayuresh15@gmail.com>

Reviewers: Chen Zhu <amandazhu19620701@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Closes #1314 from MayureshGharat/kafka-3651

(cherry picked from commit 6856c5c214)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-05-05 23:50:03 +01:00
Onur Karaman a57d5125d4 KAFKA-3661; fix NPE in o.a.k.c.c.RoundRobinAssignor when topic metadata not found
AbstractPartitionAssignor.assign has an ambiguous line in its documentation:
> param partitionsPerTopic The number of partitions for each subscribed topic (may be empty for some topics)

Does empty mean the topic has an entry with value zero, or that the entry is excluded from the map altogether? The current implementation in AbstractPartitionAssignor excludes the entry from partitionsPerTopic if the topic isn't in the metadata.

RoundRobinAssignorTest.testOneConsumerNonexistentTopic interprets emptiness as providing the topic with a zero value.
RangeAssignor interprets emptiness as excluding the entry from the map.
RangeAssignorTest.testOneConsumerNonexistentTopic interprets emptiness as providing the topic with a zero value.

This implementation chooses to solve the NPE by deciding to exclude topics from partitionsPerTopic when the topic is not in the metadata.

Author: Onur Karaman <okaraman@linkedin.com>

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

Closes #1326 from onurkaraman/KAFKA-3661

(cherry picked from commit 8429db937e)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-05-05 23:25:20 +01:00
Eno Thereska 940468011a HOTFIX: Reverted timeouts to larger values
Author: Eno Thereska <eno.thereska@gmail.com>

Reviewers: Ismael Juma, Guozhang Wang

Closes #1324 from enothereska/hotfix-timeouts

(cherry picked from commit 7f4e3ccde8)
Signed-off-by: Guozhang Wang <wangguoz@gmail.com>
2016-05-05 13:50:22 -07:00
Geoff Anderson a9df2e7ca2 KAFKA-3581: add timeouts to joins in background thread services
This actually removes joins altogether, as well as references to self.worker_threads, which is best left as an implementation detail in BackgroundThreadService.

This makes use of hachikuji 's recent ducktape patch, and updates ducktape dependency to 0.5.0.

Author: Geoff Anderson <geoff@confluent.io>

Reviewers: Jason Gustafson <jason@confluent.io>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1297 from granders/KAFKA-3581-systest-add-join-timeout

(cherry picked from commit b6cd0e2791)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-05-05 13:12:30 -07:00
Jason Gustafson 1fb0d796bb KAFKA-3659: Handle coordinator disconnects more gracefully in client
Author: Jason Gustafson <jason@confluent.io>

Reviewers: Grant Henke <granthenke@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1322 from hachikuji/KAFKA-3659

(cherry picked from commit 32bf83e5a7)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-05-05 12:03:51 -07:00
Liquan Pei e9d10108b4 KAFKA-3527: Consumer commitAsync should not expose internal exceptions
Author: Liquan Pei <liquanpei@gmail.com>

Reviewers: Grant Henke <granthenke@gmail.com>, Jason Gustafson <jason@confluent.io>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1300 from Ishiihara/kafka-3527

(cherry picked from commit ad31650978)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-05-04 19:21:15 -07:00
Rajini Sivaram 91130e4242 KAFKA-3652; Return error response for unsupported version of ApiVersionsRequest
Handle unsupported version of ApiVersionsRequest during SASL auth as well as normal operation by returning an error response.

Author: Rajini Sivaram <rajinisivaram@googlemail.com>

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

Closes #1310 from rajinisivaram/KAFKA-3652

(cherry picked from commit 64451af9e0)
Signed-off-by: Jun Rao <junrao@gmail.com>
2016-05-04 18:16:19 -07:00
Guozhang Wang 21351b5755 KAFKA-3639; Configure default serdes upon construction
Author: Guozhang Wang <wangguoz@gmail.com>

Reviewers: Michael G. Noll <michael@confluent.io>, Matthias J. Sax <matthias@confluent.io>, Ismael Juma <ismael@juma.me.uk>

Closes #1311 from guozhangwang/K3639

(cherry picked from commit c8c6ac3f6d)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-05-05 00:23:53 +01:00
Liquan Pei 1587aeed9a KAFKA 3656: Remove logging outstanding messages when producer flush fails
Author: Liquan Pei <liquanpei@gmail.com>

Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1319 from Ishiihara/kafka-3656
2016-05-04 16:10:46 -07:00
William Thurston 946d074f0e KAFKA-2236; Offset request reply racing with segment rolling
Author: William Thurston <wthurston@linkedin.com>
Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Ismael Juma, Guozhang Wang

Closes #1318 from ijuma/KAFKA-2236-offset-request-reply-segment-rolling-race

(cherry picked from commit c46cc48021)
Signed-off-by: Guozhang Wang <wangguoz@gmail.com>
2016-05-04 14:26:46 -07:00
Yuto Kawamura a0f40770ab KAFKA-3642: Fix NPE from ProcessorStateManager when the changelog topic not exists
Issue: https://issues.apache.org/jira/browse/KAFKA-3642

Author: Yuto Kawamura <kawamuray.dadada@gmail.com>

Reviewers: Guozhang Wang <wangguoz@gmail.com>

Closes #1289 from kawamuray/KAFKA-3642-streams-NPE
2016-05-04 14:05:11 -07:00
Eno Thereska f4bb4a6515 MINOR: Added more integration tests
Author: Eno Thereska <eno.thereska@gmail.com>

Reviewers: Ismael Juma, Michael G. Noll, Guozhang Wang

Closes #1285 from enothereska/more-integration-tests
2016-05-04 14:04:20 -07:00
Guozhang Wang 9b6761ccd6 MINOR: Modify checkstyle to allow import classes only used in javadoc
Author: Guozhang Wang <wangguoz@gmail.com>

Reviewers: Gwen Shapira, Ismael Juma

Closes #1317 from guozhangwang/KJavaDocImport
2016-05-04 13:59:38 -07:00
Jason Gustafson 21e930b4b4 KAFKA-3632; remove fetcher metrics on shutdown and leader migration
Author: Jason Gustafson <jason@confluent.io>

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

Closes #1312 from hachikuji/KAFKA-3632

(cherry picked from commit 7a0821d653)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-05-04 20:11:07 +01:00
Ewen Cheslack-Postava 41a8cb2520 MINOR: Handle null values in validators
Author: Ewen Cheslack-Postava <me@ewencp.org>

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

Closes #1316 from ewencp/minor-handle-null-values-validators

(cherry picked from commit 03a1f7d39c)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-05-04 02:27:16 +01:00
Liquan Pei 2d93696634 KAFKA-3654: Config validation should validate both common and connector specific configurations
Author: Liquan Pei <liquanpei@gmail.com>

Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1313 from Ishiihara/config-short-circuit

(cherry picked from commit 50aacd660d)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-05-03 18:05:36 -07:00
Chen Zhu 138b37d62b KAFKA-3648; maxTimeToBlock in BufferPool.allocate should be enforced
`maxTimeToBlock` needs to be updated in each loop iteration. Also record waitTime before throwing `TimeoutException`

Author: Chen Zhu <amandazhu19620701@gmail.com>

Reviewers: Dong Lin <lindong28@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Closes #1304 from zhuchen1018/KAFKA-3648

(cherry picked from commit 94e12a2e1f)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-05-04 00:18:29 +01:00
Liquan Pei 4de0ed7d52 MINOR: Clean up of ConsumerCoordinator and PartitionAssignor
Author: Liquan Pei <liquanpei@gmail.com>

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

Closes #1306 from Ishiihara/minor-consumer-cleanup

(cherry picked from commit af01378843)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-05-03 23:54:59 +01:00
Som Sahu 96f6aa8c4d KAFKA-3448; Support zone index in IPv6 regex
When an address is written textually, the zone index is appended to the address, separated by a percent sign (%). The actual syntax of zone indices depends on the operating system.

Author: Som Sahu <sosahu@microsoft.com>
Author: Soumyajit Sahu <soumyajit-sahu@users.noreply.github.com>

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

Closes #1305 from soumyajit-sahu/fixIPV6RegexPattern_trunk

(cherry picked from commit 88e5d5a9a1)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-05-03 19:24:34 +01:00
Ismael Juma e5363e1104 KAFKA-3128; Add metrics for ZooKeeper events zookeeper metrics
Also:
* Remove redundant `time.milliseconds` call in `Sensor.record`
* Clean-up a number of tests and remove a manual test that is no longer required

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

Reviewers: Liquan Pei <liquanpei@gmail.com>, Jun Rao <junrao@gmail.com>

Closes #1265 from ijuma/kafka-3128-zookeeper-metrics

(cherry picked from commit c7425be5be)
Signed-off-by: Jun Rao <junrao@gmail.com>
2016-05-03 10:56:04 -07:00
dan norwood e6d814a3eb MINOR: add logfilename to error message when file missing
ewencp

Author: dan norwood <norwood@confluent.io>

Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1307 from norwood/log-filename-when-missing-file

(cherry picked from commit 62253539d8)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-05-03 10:22:24 -07:00
Rajini Sivaram 2f39fb0d15 KAFKA-3517; Add documentation for SASL/PLAIN
Documentation corresponding to KIP-43 - SASL/PLAIN and multiple mechanism support.

Author: Rajini Sivaram <rajinisivaram@googlemail.com>

Reviewers: Magnus Edenhill <apache_m@edenhill.se>, Jun Rao <junrao@gmail.com>

Closes #1232 from rajinisivaram/KAFKA-3517

(cherry picked from commit abac51dc0b)
Signed-off-by: Jun Rao <junrao@gmail.com>
2016-05-03 09:49:34 -07:00
Geoff Anderson 3cfe73a2ca MINOR: Add version check on enable-systest-events flag
Recent patch adding enable-systest-events flag without any version check breaks all uses of versioned console consumer. E.g. upgrade tests, compatibility tests etc.

Added a check to only apply the flag if running 0.10.0 or greater.

Author: Geoff Anderson <geoff@confluent.io>

Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1298 from granders/minor-systest-fix-versioned-console-consumer

(cherry picked from commit 5c47b9f80e)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-05-02 21:42:19 -07:00
Dana Powers 548638af11 HOTFIX: Fix main classpath libs glob for release (fixup KAFKA-3615 regression)
bin/kafka-run-class.sh does not correctly setup the CLASSPATH in release rc2.

Author: Dana Powers <dana.powers@gmail.com>

Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1302 from dpkp/KAFKA-3615-fix

(cherry picked from commit 1e4dd66b19)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-04-30 18:54:06 -07:00
Eno Thereska f38bba89e4 HOTFIX: Fix equality semantics of KeyValue
Fixes wrong KeyValue equals logic when keys not equal but values equal.

Original hotfix PR at https://github.com/apache/kafka/pull/1293 (/cc enothereska)

Please review: ewencp ijuma guozhangwang

Author: Eno Thereska <eno.thereska@gmail.com>
Author: Michael G. Noll <michael@confluent.io>

Reviewers: Michael G. Noll <michael@confluent.io>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1294 from miguno/KeyValue-equality-hotfix

(cherry picked from commit 60380e31d4)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-04-29 15:15:07 -07:00
Gwen Shapira f0d9611866 Merge branch 'trunk' into 0.10.0 2016-04-29 14:50:50 -07:00
Liquan Pei d0dedc6314 KAFKA-3459: Returning zero task configurations from a connector does not properly clean up existing tasks
hachikuji ewencp Can you take a look when you have time?

Author: Liquan Pei <liquanpei@gmail.com>

Reviewers: Jason Gustafson <jason@confluent.io>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1248 from Ishiihara/kafka-3459
2016-04-29 14:49:22 -07:00
Grant Henke 096b8b84e0 KAFKA-3641; Fix RecordMetadata constructor backward compatibility
Author: Grant Henke <granthenke@gmail.com>

Reviewers: Gwen Shapira, Ismael Juma

Closes #1292 from granthenke/recordmeta-compat
2016-04-29 14:48:25 -07:00
Matthias J. Sax 3414d56121 KAFKA-3440: Update streams javadocs
- add class doc for KTable, KStream, JoinWindows
- add missing return tags

Author: Matthias J. Sax <matthias@confluent.io>

Reviewers: Guozhang Wang <wangguoz@gmail.com>, Michael G. Noll <michael@confluent.io>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1287 from mjsax/kafka-3440-JavaDoc
2016-04-29 12:50:02 -07:00
Rajini Sivaram 69d9a669d7 KAFKA-3618; Handle ApiVersionsRequest before SASL authentication
Server-side implementation and tests for handling ApiVersionsRequest before SaslHandshakeRequest.

Author: Rajini Sivaram <rajinisivaram@googlemail.com>

Reviewers: Gwen Shapira, Ismael Juma

Closes #1286 from rajinisivaram/KAFKA-3618
2016-04-29 11:15:20 -07:00
Liquan Pei e50327331d KAFKA-3578: Allow cross origin HTTP requests on all HTTP methods
Author: Liquan Pei <liquanpei@gmail.com>

Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1288 from Ishiihara/kip-56
2016-04-29 10:52:42 -07:00
Anna Povzner e29eac4bbb KAFKA-3597; Query ConsoleConsumer and VerifiableProducer if they shutdown cleanly
Even if a test calls stop() on console_consumer or verifiable_producer, it is still possible that producer/consumer will not shutdown cleanly, and will be killed forcefully after a timeout. It will be useful for some tests to know whether a clean shutdown happened or not. This PR adds methods to console_consumer and verifiable_producer to query whether clean shutdown happened or not.

hachikuji and/or granders Please review.

Author: Anna Povzner <anna@confluent.io>

Reviewers: Jason Gustafson, Geoff Anderson, Gwen Shapira

Closes #1278 from apovzner/kafka-3597
2016-04-29 10:51:29 -07:00
Liquan Pei eb50d2f6ca KAFKA-3615: Exclude test jars in kafka-run-class.sh
granders hachikuji Can you take a look when you have time? Appreciate your time to review.

Author: Liquan Pei <liquanpei@gmail.com>

Reviewers: Grant Henke <granthenke@gmail.com>, Geoff Anderson <geoff@confluent.io>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1263 from Ishiihara/classpath-no-test-jar
2016-04-29 10:29:00 -07:00