Commit Graph

2582 Commits

Author SHA1 Message Date
huxi d8fe204376
KAFKA-10222: Incorrect methods show up in 0.10 Kafka Streams docs (#8980)
Non-existent methods show up in the doc:
builder.from("my-input-topic").mapValue(value -> value.length().toString()).to("my-output-topic");

There is no method named from or mapValues. They should be stream and mapValues respectively.

Reviewers: Matthias J. Sax <matthias@confluent.io>
2020-07-07 10:46:02 -07:00
Robert Yokota 0ab0369c92 KAFKA-7476: Fix Date-based types in SchemaProjector
Various converters (AvroConverter and JsonConverter) produce a
SchemaAndValue consisting of a logical schema type and a java.util.Date.
This is a fix for SchemaProjector to properly handle the Date.

Author: Robert Yokota <rayokota@gmail.com>

Reviewers: Konstantine Karantasis <konstantine@confluent.io>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #5736 from rayokota/KAFKA-7476

(cherry picked from commit 3edd8e7333)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2018-10-04 20:36:53 -07:00
Gunnar Morling f385e113a2 KAFKA-7058: Comparing schema default values using Objects#deepEquals()
https://issues.apache.org/jira/browse/KAFKA-7058
* Summary of testing strategy: Added new unit test

Author: Gunnar Morling <gunnar.morling@googlemail.com>

Reviewers: Randall Hauch <rhauch@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #5225 from gunnarmorling/KAFKA-7058

(cherry picked from commit be846d833c)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2018-06-16 23:17:13 -07:00
Randall Hauch 24d0d3351a KAFKA-7009: Suppress the Reflections log warning messages in system tests
This could be backported to older branches to reduce the extra log warning messages there, too.

Running Connect system tests in this branch builder job: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/1773/

Author: Randall Hauch <rhauch@gmail.com>

Reviewers: Konstantine Karantasis <konstantine@confluent.io>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #5151 from rhauch/kafka-7009

(cherry picked from commit 7a1f555676)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2018-06-12 22:58:29 -07:00
Jarek Rudzinski 5030b5d9d8 MINOR: use jdk8 to build/run system tests (#4944)
Debian installer packages are no longer available for Java 7.

Also upgrade AMI to latest ubuntu/trusty 14 amd64 as the older
one is no longer available.

Note that this only changes the JDK used to build and run
the system tests. We still have Jenkins jobs that compile
and run the JUnit tests with Java 7 so that we don't use
features that are only available in newer Java versions.

This is a backport of #4925 to the 0.10.2 branch.
2018-04-27 16:52:14 -07:00
Randall Hauch 7fd224d307 KAFKA-6661: Ensure sink connectors don’t resume consumer when task is paused
Changed WorkerSinkTaskContext to only resume the consumer topic partitions when the connector/task is not in the paused state.

The context tracks the set of topic partitions that are explicitly paused/resumed by the connector, and when the WorkerSinkTask resumes the tasks it currently resumes all topic partitions *except* those that are still explicitly paused in the context. Therefore, the change above should result in the desired behavior.

Several debug statements were added to record when the context is called by the connector.

This can be backported to older releases, since this bug goes back to 0.10 or 0.9.

Author: Randall Hauch <rhauch@gmail.com>

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

Closes #4716 from rhauch/kafka-6661

(cherry picked from commit e7ef719a5b)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2018-03-15 16:13:29 -07:00
Ewen Cheslack-Postava bdd216f996 MINOR: Update copyright year in NOTICE
Author: Ewen Cheslack-Postava <me@ewencp.org>

Reviewers: Jason Gustafson <jason@confluent.io>, Guozhang Wang <wangguoz@gmail.com>

Closes #4529 from ewencp/update-NOTICE-year

(cherry picked from commit 2d4fb78540)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2018-02-05 13:44:00 -08:00
Arjun Satish 2ed41cec9c KAFKA-4827: Correctly encode special chars while creating URI objects
Author: Arjun Satish <arjun@confluent.io>

Reviewers: Randall Hauch <rhauch@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #4273 from wicknicks/KAFKA-4827-0.10.2

(cherry picked from commit 6a0b84aa0f)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2017-11-29 10:14:12 -08:00
Ewen Cheslack-Postava c7f725dbbc MINOR: Update Jetty to 9.2.22.v20170606
Author: Ewen Cheslack-Postava <me@ewencp.org>

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

Closes #3964 from ewencp/bump-jetty-version

(cherry picked from commit 84bc74a4a8)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2017-09-26 14:59:00 -07:00
Hooman Broujerdi 57218b2ad9 MINOR: Added safe deserialization implementation
Author: Hooman Broujerdi <hoomanb@hoomanb.usersys.redhat.com>

Reviewers: Randall Hauch <rhauch@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #3563 from rhauch/deserialization-validation

(cherry picked from commit da42977a00)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2017-07-21 16:12:16 -07:00
Ewen Cheslack-Postava 32c086317e MINOR: Apply extra serialized rsync step to both parallel and serial paths
Author: Ewen Cheslack-Postava <ewen@confluent.io>

Reviewers: Ismael Juma <ismael@juma.me.uk>, Eno Thereska <eno.thereska@gmail.com>

Closes #3546 from ewencp/fix-rsync

(cherry picked from commit 9b7a6ee2a9)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2017-07-20 10:49:42 -07:00
Ewen Cheslack-Postava f7e5f70e4c MINOR: Add serialized vagrant rsync until upstream fixes broken parallelism
See https://github.com/mitchellh/vagrant/issues/7531. The core of the issue is that vagrant rsync uses a fixed set of 1000 possible temp file entries for SSH ControlMaster files to cache SSH connections for rsyncing. A few notes:

* We can't break down the steps further and maintain performance due to various limitations in vagrant/vagrant-aws (rsync is only executed on `vagrant up`/`vagrant reload`/`vagrant rsync`, you can't enable/disable and rsync shared folder only during some of those stages, and provisioning only runs in parallel with vagrant-aws during `vagrant up`).
* We need to isolate each of the serialized rsync calls. (If we assumed `parallel` was available, we actually could get the parallelism back.) This is required because even across calls they could randomly choose the same temporary file.
* If there's a chance multiple instances were running on the same server at the same or nearly the same time, they can conflict since the same temp file entries are used globally. This means anything running on shared CI servers might end up syncing data between different CI jobs (!!), which could lead to some very strange results. Especially weird if they aren't even for the same type of job.
* Provisioning error check needs to be removed because it is catching rsync errors, but those can still happen in the initial `vagrant up` rsync step before the `vagrant up` provisioning step. It seems likely this bug was the cause of missing files anyway so this check might not be as valuable anymore.

Author: Ewen Cheslack-Postava <me@ewencp.org>

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

Closes #3380 from ewencp/deparallelize-rsync

(cherry picked from commit ffa8100457)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2017-06-20 12:27:37 -07:00
Ewen Cheslack-Postava 931b592ee8 HOTFIX: Replace JDK download and fix missing argument in Vagrant provisioning script
Author: Ewen Cheslack-Postava <me@ewencp.org>

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

Closes #3121 from ewencp/hotfix-vagrant-provisioning

(cherry picked from commit cca9ad4243)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2017-05-22 17:49:31 -07:00
Shikhar Bhushan aa60a92c06 KAFKA-4575: ensure topic created before starting sink for ConnectDistributedTest.test_pause_resume_sink
Otherwise in this test the sink task goes through the pause/resume cycle with 0 assigned partitions, since the default metadata refresh interval is quite long

Author: Shikhar Bhushan <shikhar@confluent.io>

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

Closes #2313 from shikhar/kafka-4575
2017-03-27 10:07:13 -07:00
Xavier Léauté 8814c21183 KAFKA-4251: fix test driver not launching in Vagrant 1.8.6
custom ip resolver in test driver makes incorrect assumption when calling vm.communicate.execute, causing driver to fail launching with Vagrant 1.8.6, due to https://github.com/mitchellh/vagrant/pull/7676

Author: Xavier Léauté <xavier@confluent.io>

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

Closes #1962 from xvrl/fix-vagrant-resolver
2017-03-07 00:03:08 +00:00
Ewen Cheslack-Postava 88db95c573 MINOR: Update ducktape version to 0.5.3
Author: Ewen Cheslack-Postava <me@ewencp.org>

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

Closes #2220 from ewencp/update-ducktape

(cherry picked from commit 39f62ddcec)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-12-06 13:57:52 -08:00
Ismael Juma fe57fe6943 MINOR: Set JVM parameters for the Gradle Test executor processes
We suspect that the test suite hangs we have been seeing are
due to PermGen exhaustion. It is a common reason for
hard JVM lock-ups.

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

Reviewers: Jason Gustafson <jason@confluent.io>

Closes #1926 from ijuma/test-jvm-params

(cherry picked from commit 67e99d0869)
Signed-off-by: Jason Gustafson <jason@confluent.io>
2016-09-28 19:15:28 -07:00
Guozhang Wang 8bbb0b216f HOTFIX: Remove git conflict markers in streams.html
Author: Guozhang Wang <wangguoz@gmail.com>

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

Closes #1922 from guozhangwang/KHotfix-streams-html
2016-09-28 02:31:58 +01:00
Shikhar Bhushan 64acd90859 KAFKA-4100: Ensure 'fields' and 'fieldsByName' are not null for Struct schemas
Author: Shikhar Bhushan <shikhar@confluent.io>

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

Closes #1800 from shikhar/kafka-4100
2016-09-19 13:50:52 -07:00
Shikhar Bhushan d37b036090 KAFKA-4183; Centralize checking for optional and default values in JsonConverter
Cleaner to just check once for optional & default value from the `convertToConnect()` function.

It also helps address an issue with conversions for logical type schemas that have default values and null as the included value. That test case is _probably_ not an issue in practice, since when using the `JsonConverter` to serialize a missing field with a default value, it will serialize the default value for the field. But in the face of JSON data streaming in from a topic being [generous on input, strict on output](http://tedwise.com/2009/05/27/generous-on-input-strict-on-output) seems best.

Author: Shikhar Bhushan <shikhar@confluent.io>

Reviewers: Randall Hauch <rhauch@gmail.com>, Jason Gustafson <jason@confluent.io>

Closes #1872 from shikhar/kafka-4183
2016-09-19 13:33:59 -07:00
Shikhar Bhushan fbcff9b507 KAFKA-4173; SchemaProjector should successfully project missing Struct field when target field is optional
Author: Shikhar Bhushan <shikhar@confluent.io>

Reviewers: Konstantine Karantasis <konstantine@confluent.io>, Jason Gustafson <jason@confluent.io>

Closes #1865 from shikhar/kafka-4173
2016-09-19 13:33:47 -07:00
Randall Hauch 1e5bf02ab3 KAFKA-4183; Corrected Kafka Connect's JSON Converter to properly convert from null to logical values
The `JsonConverter` class has `LogicalTypeConverter` implementations for Date, Time, Timestamp, and Decimal, but these implementations fail when the input literal value (deserialized from the message) is null.

Test cases were added to check for these cases, and these failed before the `LogicalTypeConverter` implementations were fixed to consider whether the schema has a default value or is optional, similarly to how the `JsonToConnectTypeConverter` implementations do this. Once the fixes were made, the new tests pass.

Author: Randall Hauch <rhauch@gmail.com>

Reviewers: Shikhar Bhushan <shikhar@confluent.io>, Jason Gustafson <jason@confluent.io>

Closes #1867 from rhauch/kafka-4183
2016-09-19 13:33:37 -07:00
Grant Henke ee6e50024d KAFKA-4157; Transient system test failure in replica_verification_test.test_replica_lags
…t.test_replica_lags

Author: Grant Henke <granthenke@gmail.com>

Reviewers: Ashish Singh <asingh@cloudera.com>, Ismael Juma <ismael@juma.me.uk>

Closes #1849 from granthenke/replica-verification-fix

(cherry picked from commit b5bc1a1caa)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-09-17 22:48:05 +01:00
Matthias J. Sax ea8c1b3942 HOTFIX: changed quickstart donwload from 0.10.0.0 to 0.10.0.1
Author: Matthias J. Sax <matthias@confluent.io>

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

Closes #1869 from mjsax/hotfix-doc

(cherry picked from commit b8683026ea)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-09-17 22:45:39 +01:00
Guozhang Wang 3262ae29ae HOTFIX: set sourceNodes to null for selectKey
To indicate its source topic is no longer guaranteed to be partitioned on key.

Author: Guozhang Wang <wangguoz@gmail.com>

Reviewers: Matthias J. Sax, Damian Guy, Eno Thereska

Closes #1858 from guozhangwang/KHotfix-set-null-sourceNodes-selectKey
2016-09-15 08:42:21 -07:00
David Chen 068f93511a KAFKA-4162: Fixed typo "rebalance"
Author: David Chen <mvjome@gmail.com>

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

Closes #1853 from mvj3/KAFKA-4162

(cherry picked from commit c1bce2d757)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-09-14 10:38:51 -07:00
Damian Guy 5a03416fe2 KAFKA-4112: Remove alpha quality label from Kafka Streams in docs 2016-09-01 12:25:28 -07:00
Matthias J. Sax bff5349a49 KAFKA-4058: Failure in org.apache.kafka.streams.integration.ResetIntegrationTest.testReprocessingFromScratchAfterReset
- use AdminTool to check for active consumer group

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

Reviewers: Ismael Juma, Guozhang Wang

Closes #1756 from mjsax/kafka-4058-reset-tool-test
2016-08-30 11:59:41 -07:00
Ismael Juma ca45bd0317 MINOR: Include request header in exception when correlation of request/response fails
Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Guozhang Wang <wangguoz@gmail.com>

Closes #1793 from ijuma/include-request-header-if-request-correlation-fails

(cherry picked from commit d4c379832b)
Signed-off-by: Guozhang Wang <wangguoz@gmail.com>
2016-08-26 11:12:34 -07:00
Ismael Juma 9b3e9f3dfe KAFKA-4082; Support usage of Gradle 3.0 for bootstrapping gradlew in 0.10.0
The main requirement is to remove the usage of `useAnt` and we need
to upgrade scoverage because the older version refers to `useAnt`.

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

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

Closes #1781 from ijuma/kafka-4082-support-gradle-3.0-0.10
2016-08-24 13:27:14 -07:00
Ismael Juma 4e4e2fb508 KAFKA-4073; MirrorMaker should handle messages without timestamp correctly
Author: Ismael Juma <ismael@juma.me.uk>

Reviewers: Jun Rao <junrao@gmail.com>

Closes #1773 from ijuma/kafka-4073-mirror-maker-timestamps

(cherry picked from commit a1e0b2240d)
Signed-off-by: Jun Rao <junrao@gmail.com>
2016-08-22 21:50:25 -07:00
Guozhang Wang 8bf9addd25 MINOR: add slf4jlog4j to streams example
Author: Guozhang Wang <wangguoz@gmail.com>

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

Closes #1731 from guozhangwang/Kminor-log4j-streams-examples

(cherry picked from commit d903babb72)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-08-22 23:53:12 +01:00
Matthias J. Sax 45259d11aa MINOR: improve Streams application reset tool to make sure application is down
guozhangwang miguno dguy enothereska hjafarpour
See #1764

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

Reviewers: Guozhang Wang <wangguoz@gmail.com>

Closes #1765 from mjsax/improveResetTool-0.10.0
2016-08-20 12:06:58 -07:00
Todd Palino afb65688af KAFKA-4050; Allow configuration of the PRNG used for SSL
Add an optional configuration for the SecureRandom PRNG implementation, with the default behavior being the same (use the default implementation in the JDK/JRE).

Author: Todd Palino <Todd Palino>

Reviewers: Grant Henke <granthenke@gmail.com>, Ismael Juma <ismael@juma.me.uk>, Joel Koshy <jjkoshy@gmail.com>, Jiangjie Qin <becket.qin@gmail.com>, Rajini Sivaram <rajinisivaram@googlemail.com>

Closes #1747 from toddpalino/trunk

(cherry picked from commit 104d2154b6)
Signed-off-by: Joel Koshy <jjkoshy@gmail.com>
2016-08-19 11:06:46 -07:00
Ewen Cheslack-Postava a707f573de KAFKA-4037: Make Connect REST API retries aware of 409 CONFLICT errors
Author: Ewen Cheslack-Postava <me@ewencp.org>

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

Closes #1733 from ewencp/rest-api-retries

(cherry picked from commit 59cfa84801)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-08-18 15:30:20 -07:00
Guozhang Wang 801a706124 MINOR: Add application id prefix for copartitionGroups in TopologyBuilder
This is bugfix that is already in trunk but not backported to 0.10.0.

Author: Guozhang Wang <wangguoz@gmail.com>

Reviewers: Damian Guy <damian.guy@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1735 from guozhangwang/Kminor-topology-applicationID-0.10.0
2016-08-15 23:04:40 -07:00
Jason Gustafson 55af7ec6b5 KAFKA-4034; Avoid unnecessary consumer coordinator lookup
Author: Jason Gustafson <jason@confluent.io>

Reviewers: Guozhang Wang <wangguoz@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Closes #1720 from hachikuji/KAFKA-4034
2016-08-13 00:38:45 +01:00
dan norwood aef20e8353 MINOR: Add `fetchTopicMetadataFromZk` overload that takes `SecurityProtocol` parameter
ijuma

Author: dan norwood <norwood@confluent.io>

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

Closes #1713 from norwood/add-security-protocol-option-for-fetch

(cherry picked from commit 7b7f57df62)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-08-09 01:52:50 +01:00
Ismael Juma 5852bb0e4b Bump version to 0.10.0.2-SNAPSHOT 2016-08-08 15:48:32 +01:00
Ismael Juma fa30db135c Merge tag '0.10.0.1-rc2' into 0.10.0
Release candidate 2 for Apache Kafka 0.10.0.1

* tag '0.10.0.1-rc2':
  Bump version to 0.10.0.1
2016-08-08 15:45:42 +01:00
Kaufman Ng aaa52996b9 KAFKA-3479: Add new consumer metrics documentation
added new consumer metrics section
refactored common metrics into new section
updated TOC

Author: Kaufman Ng <kaufman@confluent.io>

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

Closes #1361 from coughman/KAFKA-3479-consumer-metrics-doc

(cherry picked from commit 6b2564811a)
Signed-off-by: Ewen Cheslack-Postava <me@ewencp.org>
2016-08-07 14:29:17 -07:00
Jan Filipiak 22f82abb5a KAFKA-3817: KTableRepartitionMap publish old Change first, for non-count aggregates
I affirm that the contribution is my original work and that I license the work to the project under the project's open source license.

This cleans up misbehaviour that was introduce while fixing KAFKA-3817. It is impossible for a non-count aggregate to be build, when the addition happens before the removal. IMHO making sure that these details are correct is very important.

This PR has local test errors. It somehow fails the ResetIntegrationTest. It doesn't quite appear to me why but it looks like this PR breaks it, especially because the error appears with the ordering of the events. Still I am unable to find where I could have broken it. Maybe not seems to fail on trunk aswell.

Author: jfilipiak <Jan.Filipiak@trivago.com>

Reviewers: Guozhang Wang <wangguoz@gmail.com>

Closes #1705 from Kaiserchen/KAFKA-3817-preserve-order-for-aggreagators

(cherry picked from 3dafb81da7)
2016-08-06 00:26:17 +01:00
Ismael Juma a7a17cdec9 Bump version to 0.10.0.1 2016-08-04 13:05:59 +01:00
Ismael Juma ac994dd765 KAFKA-4018; Streams causing older slf4j-log4j library to be packaged along with newer version
This is a regression caused by 0bb1d3ae.

After that commit, Streams no longer has a direct dependency on slf4j-log4j12, but zkclient
has a dependency on an older version of slf4j-log4j12, so we get a transitive dependency on
the older version.

The fix is to simply exclude the undesired dependencies from the zkclient dependency.

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

Reviewers: Guozhang Wang <wangguoz@gmail.com>

Closes #1704 from ijuma/kafka-4018-streams-duplicate-slf4j-log4j

(cherry picked from commit 2e3722a234)
Signed-off-by: Ismael Juma <ismael@juma.me.uk>
2016-08-04 02:04:38 +01:00
Jendrik Poloczek 127bb7fca2 MINOR: Fixed documentation for KStream left join KStream-KTable
We are not joining in a window here.

Author: Jendrik Poloczek <jendrik.poloczek@hivestreaming.com>

Reviewers: Guozhang Wang <wangguoz@gmail.com>

Closes #1692 from jpzk/trunk

(cherry picked from commit 7d51305567)
Signed-off-by: Guozhang Wang <wangguoz@gmail.com>
2016-08-03 14:02:00 -07:00
Ryan P 1b333c23f4 KAFKA-3667; Improve Section 7.2 Encryption and Authentication using SSL to include proper hostname verification configuration
By default Kafka is configured to allow ssl communication without hostname verification. This docs has been amended to include instructions on how to set that up in the event clients would like to take a more conservative approach.

Author: Ryan P <ryan.n.pridgeon@gmail.com>

Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>, Ismael Juma <ismael@juma.me.uk>

Closes #1384 from rnpridgeon/KAFKA-3667

(cherry picked from commit c89707f)
2016-08-03 10:48:10 +01:00
Damian Guy ce34614a43 HOTFIX: Start embedded kafka in KafkaStreamsTest to avoid hanging
The KafkaStreamsTest can occasionally hang if the test doesn't run fast enough. This is due to there being no brokers available on the broker.urls provided to the StreamsConfig. The KafkaConsumer does a poll and blocks causing the test to never complete.

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

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

Closes #1693 from dguy/kafka-streams-test
2016-08-02 12:41:20 +01:00
Matthias J. Sax f2405a73ea KAFKA-4008: Module "tools" should not be dependent on "core"
moved streams application reset tool from tools to core

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

Reviewers: Ismael Juma <ismael@juma.me.uk>, Damian Guy <damian.guy@gmail.com>, Guozhang Wang <wangguoz@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #1685 from mjsax/moveResetTool
2016-08-01 20:12:22 -07:00
Manikumar Reddy O 44ad3ec773 KAFKA-3950; Only throw authorization exception if pattern subscription matches topic
Author: Manikumar Reddy O <manikumar.reddy@gmail.com>
Author: Ismael Juma <github@juma.me.uk>

Reviewers: Ashish Singh <asingh@cloudera.com>, Sriharsha Chintalapani <schintalapani@hortonworks.com>, Jason Gustafson <jason@confluent.io>, Ismael Juma <ismael@juma.me.uk>

Closes #1687 from omkreddy/KAFKA-3950
2016-07-31 10:01:45 +01:00
Damian Guy 77ced78f1b HOTFIX: Non-unique state.dirs in integration tests causing build to hang
Three Streams Integration tests were using the same directory for the state.dir config. This was causing the build to hang when run in parallel mode

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

Reviewers: Eno Thereska <eno.thereska@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Closes #1682 from dguy/fix-state-dir
2016-07-29 21:03:22 +01:00