Commit Graph

4216 Commits

Author SHA1 Message Date
Mickael Maison a0f533266a KAFKA-3356: Remove ConsumerOffsetChecker
Author: Mickael Maison <mickael.maison@gmail.com>

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

Closes #3036 from mimaison/KAFKA-3356
2017-09-24 10:08:52 +08:00
Bill Bejeck 271f6b5aec KAFKA-5862: Remove ZK dependency from Streams reset tool, Part I
Author: Bill Bejeck <bill@confluent.io>
Author: bbejeck <bbejeck@gmail.com>

Reviewers: Matthias J. Sax <matthias@confluent.io>, Ted Yu <yuzhihong@gmail.com>, Guozhang Wang <wangguoz@gmail.com>

Closes #3927 from bbejeck/KAFKA-5862_remove_zk_dependency_from_streams_reset_tool
2017-09-23 12:05:16 +08:00
Manjula K 1fd70c7c94 MINOR - Adding New York Times logo to streams page
Author: Manjula K <manjula@kafka-summit.org>
Author: manjuapu <manjula@confluent.io>

Reviewers: Guozhang Wang <wangguoz@gmail.com>

Closes #3950 from manjuapu/customer-logo-stream
2017-09-23 10:53:10 +08:00
Erkan Unal 71a65d95a2 MINOR: Fix ClassCastException in ConsumerGroupCommand
Offset and partition are not converted from String to
long and int correctly.

Running the command line with --from-file option causes
the following exception:

java.lang.ClassCastException: java.lang.String cannot be
cast to java.lang.Integer

Reason: asInstanceOf used for the conversion.

Also, unit test is using --to-earliest and --from-file
together when executing the test. This is executing
--to-earliest option only and ignoring --from-file
option. Since the preparation part is also using
--to-earliest to create the file, this unit test
passes without testing --from-file option. Fixed
the unit test too.

Author: Erkan Unal <eunal@cisco.com>

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

Closes #3938 from eu657/eu657-patch-1
2017-09-22 22:34:11 +01:00
Randall Hauch f4a1ca347b KAFKA-5899: Added Connect metrics for connectors (KIP-196)
This PR is the first of several subtasks for [KAFKA-2376](https://issues.apache.org/jira/browse/KAFKA-2376) to add metrics to Connect worker processes. See that issue and [KIP-196 for details](https://cwiki.apache.org/confluence/display/KAFKA/KIP-196%3A+Add+metrics+to+Kafka+Connect+framework).

This PR adds metrics for each connector using Kafka’s existing `Metrics` framework. This is the first of several changes to add several groups of metrics, this change starts by adding a very simple `ConnectMetrics` object that is owned by each worker and that makes it easy to define multiple groups of metrics, called `ConnectMetricGroup` objects. Each metric group maps to a JMX MBean, and each metric within the group maps to an MBean attribute.

Future PRs will build upon this simple pattern to add metrics for source and sink tasks, workers, and worker rebalances.

Author: Randall Hauch <rhauch@gmail.com>

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

Closes #3864 from rhauch/kafka-5899
2017-09-22 13:17:28 -07:00
Apurva Mehta 8f90fd6530 KAFKA-5959; Fix NPE in Sender.canRetry when idempotence is not enabled
Author: Apurva Mehta <apurva@confluent.io>

Reviewers: tedyu <yuzhihong@gmail.com>, Jason Gustafson <jason@confluent.io>

Closes #3947 from apurvam/KAFKA-5959-npe-in-sender
2017-09-22 13:07:59 -07:00
Rajini Sivaram d60f011d77 KAFKA-5920; Handle SSL handshake failures as authentication exceptions
1. Propagate `SSLException` as `SslAuthenticationException` to enable clients to report these and avoid retries
2. Updates to `SslTransportLayer` to process bytes received even if end-of-stream
3. Some tidy up of authentication handling
4. Report exceptions in SaslClientAuthenticator as AuthenticationExceptions

Author: Rajini Sivaram <rajinisivaram@googlemail.com>

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

Closes #3918 from rajinisivaram/KAFKA-5920-SSL-handshake-failure
2017-09-22 20:29:25 +01:00
Ismael Juma e554dc518e KAFKA-5915; Support unmapping of mapped/direct buffers in Java 9
As mentioned in MappedByteBuffers' class documentation, its
implementation was inspired by Lucene's MMapDirectory:

https://github.com/apache/lucene-solr/blob/releases/lucene-solr/6.6.1/lucene/core/src/java/org/apache/lucene/store/MMapDirectory.java#L315

Without this change, unmapping fails with the following message:

> java.lang.IllegalAccessError: class kafka.log.AbstractIndex (in unnamed module 0x45103d6b) cannot access class jdk.internal.ref.Cleaner (in module java.base) because module java.base does not export jdk.internal.ref to unnamed module 0x45103d6b

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

Reviewers: Rajini Sivaram <rajinisivaram@googlemail.com>

Closes #3879 from ijuma/kafka-5915-unmap-mapped-buffers-java-9
2017-09-22 19:32:09 +01:00
Damian Guy 125d8d6f70 KAFKA-5956; use serdes from materialized in table and globalTable
The new overloads `StreamBuilder.table(String, Materialized)` and `StreamsBuilder.globalTable(String, Materialized)` need to set the serdes from `Materialized` on the internal `Consumed` instance that is created, otherwise the defaults will be used and may result in serialization errors

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

Reviewers: Matthias J. Sax <matthias@confluent.io>, Guozhang Wang <wangguoz@gmail.com>

Closes #3936 from dguy/table-materialized
2017-09-22 13:45:19 +01:00
Thibaud Chardonnens 7c988a3c8b KAFKA-5330: Use per-task converters in Connect
Instead of sharing the same converter instance within the worker, use a converter per task.

More details:
- https://github.com/confluentinc/schema-registry/issues/514
- https://issues.apache.org/jira/browse/KAFKA-5330

Author: Thibaud Chardonnens <Thibaud.Chardonnens@swisscom.com>

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

Closes #3196 from tbcdns/KAFKA-5330
2017-09-21 20:12:08 -07:00
Matthias J. Sax 402aa093db KAFKA-5937: Improve ProcessorStateManager exception handling
Author: Matthias J. Sax <matthias@confluent.io>

Reviewers: Ted Yu <yuzhihong@gmail.com>, Damian Guy <damian.guy@gmail.com>, Guozhang Wang <wangguoz@gmail.com>

Closes #3913 from mjsax/kafka-5937-exceptions-processor-state-manager
2017-09-22 07:33:50 +08:00
Manjula K 36afd1095c MINOR: Adding LINE corp logo to streams page
Author: Manjula K <manjula@kafka-summit.org>
Author: manjuapu <manjula@confluent.io>

Reviewers: Guozhang Wang <wangguoz@gmail.com>

Closes #3940 from manjuapu/customer-logo-stream
2017-09-22 07:11:06 +08:00
Apurva Mehta ea533f0c5e KAFKA-5913; Add hasOffset() and hasTimestamp() methods to RecordMetadata
These methods help users check for cases in which this metadata was not returned by the broker (e.g. in the case of acks=0 or a duplicate error when idempotence is enabled).

Author: Apurva Mehta <apurva@confluent.io>

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

Closes #3878 from apurvam/KAFKA-5913-add-record-metadata-not-available-exception
2017-09-21 14:39:00 -07:00
tedyu 690575ec46 MINOR: Follow-up improvements on top of KAFKA-5793
Simplified the condition in Sender#failBatch()
Added log in TransactionManager#updateLastAckedOffset()

Author: tedyu <yuzhihong@gmail.com>

Reviewers: Jason Gustafson <jason@confluent.io>

Closes #3935 from tedyu/trunk
2017-09-21 13:57:54 -07:00
Mickael Maison c8c6ab6324 KAFKA-5735; KIP-190: Handle client-ids consistently
Developed with edoardocomar

Author: Mickael Maison <mickael.maison@gmail.com>

Reviewers: Edoardo Comar <ecomar@uk.ibm.com>, Rajini Sivaram <rajinisivaram@googlemail.com>

Closes #3906 from mimaison/KAFKA-5735
2017-09-21 21:16:57 +01:00
Randall Hauch afaaea8093 KAFKA-5954; Correct Connect REST API system test
Author: Randall Hauch <rhauch@gmail.com>

Reviewers: tedyu <yuzhihong@gmail.com>, Ismael Juma <ismael@juma.me.uk>

Closes #3934 from rhauch/kafka-5954
2017-09-21 16:46:10 +01:00
Ismael Juma a553764c8b KAFKA-5856; AdminClient.createPartitions() follow-up (KIP-195)
- Remove DelayedCreatePartitions to reduce code duplication
- Avoid unnecessary ZK calls (call it once per request instead
of once per topic, if possible)
- Simplify code
- A few minor clean-ups

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

Reviewers: Tom Bentley <tbentley@redhat.com>, Rajini Sivaram <rajinisivaram@googlemail.com>

Closes #3930 from ijuma/kafka-5856-admin-client-creation-partitions
2017-09-21 15:21:09 +01:00
Rajini Sivaram 96ba21e0df KAFKA-5947; Handle authentication failure in admin client, txn producer
1. Raise AuthenticationException for authentication failures in admin client
2. Handle AuthenticationException as a fatal error for transactional producer
3. Add comments to authentication exceptions

Author: Rajini Sivaram <rajinisivaram@googlemail.com>

Reviewers: Vahid Hashemian <vahidhashemian@us.ibm.com>, Ismael Juma <ismael@juma.me.uk>

Closes #3928 from rajinisivaram/KAFKA-5947-auth-failure
2017-09-21 13:58:43 +01:00
Damian Guy f29391c490 MINOR: add upgrade note for KIP-173 topic configs
Author: Damian Guy <damian.guy@gmail.com>

Reviewers: Matthias J. Sax <matthias@confluent.io>, Guozhang Wang <wangguoz@gmail.com>

Closes #3921 from dguy/minor-kip-173-docs
2017-09-21 18:19:24 +08:00
Damian Guy a2da064cbf KAFKA-5922: Add SessionWindowedKStream
Add `SessionWindowedKStream` and implementation. Deprecate existing `SessionWindow` `aggregate` methods on `KGroupedStream`

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

Reviewers: Bill Bejeck <bill@confluent.io>, Matthias J. Sax <matthias@confluent.io>, Guozhang Wang <wangguoz@gmail.com>

Closes #3902 from dguy/kafka-5922
2017-09-21 16:10:17 +08:00
James Cheng b12ba240e9 MINOR: Fix testUniqueErrorCodes unit test failure
Error code collision due to incorrect merge
conflict resolution after 2 PRs were merged in
quick succession.

Author: James Cheng <jylcheng@yahoo.com>

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

Closes #3931 from wushujames/KAFKA-5856.buildfix
2017-09-21 08:32:14 +01:00
Tom Bentley 5f6393f9b1 KAFKA-5856; Add AdminClient.createPartitions() (KIP-195)
The contribution is my original work and I license the work to the project under the project's open source license.

This patch adds AdminClient.createPartitions() and the network protocol is
uses. The broker-side algorithm is as follows:

1. KafkaApis makes some initial checks on the request, then delegates to the
   new AdminManager.createPartitions() method.
2. AdminManager.createPartitions() performs some validation then delegates to
   AdminUtils.addPartitions().

Aside: I felt it was safer to add the extra validation in
AdminManager.createPartitions() than in AdminUtils.addPartitions() since the
latter is used on other code paths which might fail differently with the
introduction of extra checks.

3. AdminUtils.addPartitions() does its own checks and adds the partitions.
4. AdminManager then uses the existing topic purgatory to wait for the
   PartitionInfo available from the metadata cache to become consistent with
   the new total number of partitions.

The messages of exceptions thrown in AdminUtils affecting this new API have
been made consistent with initial capital letter and terminating period.
A few have been reworded for clarity.

Author: Tom Bentley <tbentley@redhat.com>

Reviewers: Rajini Sivaram <rajinisivaram@googlemail.com>, Ismael Juma <ismael@juma.me.uk>

Closes #3870 from tombentley/KAFKA-5856-AdminClient.createPartitions
2017-09-21 05:06:36 +01:00
Apurva Mehta 94692288be KAFKA-5793; Tighten up the semantics of the OutOfOrderSequenceException
Description of the solution can be found here: https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Exactly+Once+-+Solving+the+problem+of+spurious+OutOfOrderSequence+errors

Author: Apurva Mehta <apurva@confluent.io>

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

Closes #3865 from apurvam/KAFKA-5793-tighten-up-out-of-order-sequence-v2
2017-09-20 20:31:33 -07:00
Vahid Hashemian 69d2a17710 KAFKA-5854; Handle SASL authentication failures as non-retriable exceptions in clients
This PR implements the client-side of KIP-152, by modifying `KafkaConsumer`, `KafkaProducer`, and `ConsumerGroupCommand` to throw a non-retriable exception when SASL authentication fails.

This PR is co-authored with rajinisivaram.

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

Reviewers: Jason Gustafson <jason@confluent.io>, Rajini Sivaram <rajinisivaram@googlemail.com>, Ismael Juma <ismael@juma.me.uk>, tedyu <yuzhihong@gmail.com>

Closes #3832 from vahidhashemian/KAFKA-5854
2017-09-20 22:51:53 +01:00
Ismael Juma c2af13ed0e MINOR: Upgrade to Gradle 4.2
It includes the usual performance improvements, but
the nicest improvement for me is that the findBugs
plugin no longer outputs 10000+ lines in
Jenkins builds:

https://docs.gradle.org/4.2/release-notes.html#findbugs-plugin-does-not-render-analysis-progress-anymore

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

Reviewers: Rajini Sivaram <rajinisivaram@googlemail.com>

Closes #3923 from ijuma/gradle-4.2
2017-09-20 22:19:48 +01:00
tedyu 552b170787 KAFKA-5657: Connect REST API should include the connector type when describing a connector (KIP-151)
Embed the type of connector in ConnectorInfo

Author: tedyu <yuzhihong@gmail.com>

Reviewers: Randall Hauch <rhauch@gmail.com>, Jason Gustafson <jason@confluent.io>, Konstantine Karantasis <konstantine@confluent.io>, Ewen Cheslack-Postava <ewen@confluent.io>

Closes #3812 from tedyu/trunk
2017-09-20 14:01:43 -07:00
huxihx 239dad1b9f KAFKA-5358; Consumer perf tool should count rebalance time (KIP-177)
Author: huxihx <huxi_2b@hotmail.com>

Reviewers: Jason Gustafson <jason@confluent.io>

Closes #3188 from huxihx/KAKFA-5358
2017-09-20 09:29:39 -07:00
manjuapu c82be0f303 MINOR: Adding See how Kafka Streams is being used section to Streams page
Author: manjuapu <manjula@confluent.io>
Author: Manjula K <manjula@kafka-summit.org>

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

Closes #3914 from manjuapu/customer-logo-stream
2017-09-20 08:59:05 -07:00
Damian Guy bb9859720b MINOR: change task initialization logging levels
In `AssignedTasks` log at debug all task ids that are yet to be initialized.
In `StreamsTask` log at trace when the task is initialized.

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

Reviewers: Guozhang Wang <wangguoz@gmail.com>

Closes #3905 from dguy/minor-task-init-logging
2017-09-20 12:07:04 +01:00
Damian Guy 37ec15e962 KAFKA-5931; deprecate KTable#through and KTable#to
Author: Damian Guy <damian.guy@gmail.com>

Reviewers: Matthias J. Sax <matthias@confluent.io>, Bill Bejeck <bill@confluent.io>, Guozhang Wang <wangguoz@gmail.com>

Closes #3903 from dguy/deprectate-to-through
2017-09-20 12:04:13 +01:00
Damian Guy c587905954 MINOR: update release script for streams quickstart
Author: Damian Guy <damian.guy@gmail.com>

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

Closes #3846 from dguy/minor-release-script
2017-09-20 17:57:07 +08:00
Florian Hussonnois 398714b758 KAFKA-5839: Upgrade Guide doc changes for KIP-130
Author: Florian Hussonnois <florian.hussonnois@gmail.com>

Reviewers: Matthias J. Sax <matthias@confluent.io>, Guozhang Wang <wangguoz@gmail.com>

Closes #3811 from fhussonnois/KAFKA-5839

minor fixes
2017-09-20 16:50:08 +08:00
Matthias J. Sax bd0146d984 MINOR: various random minor fixes and improve KafkaConsumer JavaDocs
Author: Matthias J. Sax <matthias@confluent.io>

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

Closes #3884 from mjsax/minor-fixed-discoverd-via-exception-handling-investigation
2017-09-20 07:13:03 +08:00
Ismael Juma 80e0af50d9 MINOR: Only include transactional id in LogContext if it's set
Author: Ismael Juma <ismael@juma.me.uk>

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

Closes #3910 from ijuma/transactional-id-should-be-optional-in-log-context
2017-09-19 16:01:15 -07:00
Ismael Juma 92c06cbad5 MINOR: Protocol schema refactor follow-up
- Use constants in a few places that were missed
- Remove ProtoUtils by moving its methods to Schema
- Merge SchemaVisitor and SchemaVisitorAdapter
- Change SchemaVisitor package.

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

Reviewers: Jason Gustafson <jason@confluent.io>

Closes #3895 from ijuma/protocol-schema-refactor-follow-ups
2017-09-19 11:07:32 -07:00
Ismael Juma 5e0bb3df96 MINOR: Fix unresolvable address in `testUnresolvableConnectString`
Before this change, the test always failed on my MacBook Pro.

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

Reviewers: Rajini Sivaram <rajinisivaram@googlemail.com>

Closes #3901 from ijuma/fix-unresolvable-address-in-zookeeper-test
2017-09-19 12:37:11 +01:00
Damian Guy c96f89f845 MINOR: use StoreBuilder in KStreamImpl rather than StateStoreSupplier
Author: Damian Guy <damian.guy@gmail.com>

Reviewers: Bill Bejeck <bill@confluent.io>, Matthias J. Sax <matthias@confluent.io>, Guozhang Wang <wangguoz@gmail.com>

Closes #3892 from dguy/cleanup-state-stores
2017-09-19 12:05:52 +01:00
Damian Guy c8f1471992 KAFKA-5921; add Materialized overloads to windowed kstream
Add `Materialized` overloads to `WindowedKStream`. Deprecate existing methods on `KGroupedStream`

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

Reviewers: Guozhang Wang <wangguoz@gmail.com>

Closes #3889 from dguy/kafka-5921
2017-09-19 10:56:42 +01:00
Manikumar Reddy 83bdcdbaef MINOR: Refer consistently to server.properties in security docs
Author: Manikumar Reddy <manikumar.reddy@gmail.com>

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

Closes #3788 from omkreddy/RULE-DOC
2017-09-19 05:33:02 +01:00
Jason Gustafson 0cf7708007 MINOR: Move request/response schemas to the corresponding object representation
This refactor achieves the following:

1. Breaks up the increasingly unmanageable `Protocol` class and moves schemas closer to their actual usage.
2. Removes the need for redundant field identifiers maintained separately in `Protocol` and the respective request/response objects.
3. Provides a better mechanism for sharing common fields between different schemas (e.g. topics, partitions, error codes, etc.).
4. Adds convenience helpers to `Struct` for common patterns (such as setting a field only if it exists).

Author: Jason Gustafson <jason@confluent.io>

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

Closes #3813 from hachikuji/protocol-schema-refactor
2017-09-19 05:12:55 +01:00
Jakub Scholz a64fe2ed88 KAFKA-5918: Fix minor typos and errors in the Kafka Streams turotial
I found several minor issues with the Kafka Streams tutorial:
* Some typos
  * "As shown above, it illustrate that the constructed ..." instead of "As shown above, it illustrate_s_ that the constructed ..."
  * "same as Pipe.java below" instead of "same as Pipe.java _above_"
  * Wrong class name in the `LineSplit` example
* Incorrect imports for the code examples
  * Missing `import org.apache.kafka.streams.kstream.KStream;` in `LineSplit` and `WordCount` example
* Unnecessary (and potentially confusing) split by whitespaces in the `WorkCount` class (the split into words happened already in `LineSplit`)

Author: Jakub Scholz <www@scholzj.com>

Reviewers: Matthias J. Sax <matthias@confluent.io>, Guozhang Wang <wangguoz@gmail.com>

Closes #3883 from scholzj/stream-tutorial-typos
2017-09-19 07:58:06 +08:00
Matthias J. Sax d0645aaeef KAFKA-5893; Preserve original System.out in PrintedTest
Author: Matthias J. Sax <matthias@confluent.io>

Reviewers: Guozhang Wang <wangguoz@gmail.com>, Bill Bejeck <bill@confluent.io>

Closes #3893 from mjsax/kafka-5893-reset-integration-test
2017-09-19 07:30:16 +08:00
Matthias J. Sax f46d414c16 KAFKA-5833: Reset thread interrupt state in case of InterruptedException
Author: Matthias J. Sax <matthias@confluent.io>

Reviewers: Ted Yu <yuzhihong@gmail.com>, Guozhang Wang <wangguoz@gmail.com>

Closes #3841 from mjsax/kafka-5833-interrupts
2017-09-19 06:36:47 +08:00
Mickael Maison 4ac7c48e91 MINOR: Fix KafkaConsumer.commitSync() javadoc @throws declarations
Throws IllegalArgumentException is the offset is negative

Author: Mickael Maison <mickael.maison@gmail.com>

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

Closes #3780 from mimaison/commitSync_javadoc
2017-09-18 12:58:30 -07:00
Ismael Juma ae3eeb3e1c MINOR: Make the state change log more consistent
Use logIdent to achieve this.

Also fixed an issue where we were logging about replicas going offline with
an empty set of replicas (i.e. no replicas had gone offline so no need to log).

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

Reviewers: Jason Gustafson <jason@confluent.io>

Closes #3869 from ijuma/improve-state-change-log
2017-09-18 09:00:37 -07:00
Damian Guy f2b74aa1c3 KAFKA-5873; add materialized overloads to StreamsBuilder
Add overloads for `table` and `globalTable` that use `Materialized`

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

Reviewers: Bill Bejeck <bill@confluent.io>, Matthias J. Sax <matthias@confluent.io>, Guozhang Wang <wangguoz@gmail.com>

Closes #3837 from dguy/kafka-5873
2017-09-18 15:53:44 +01:00
Ismael Juma 52d7b6763b MINOR: Fix replica_verification_tool.py to handle slight change in output format
The string representation of TopicPartition was changed to be
{topic}-{partitition} consistently in the following commit:

f6f56a645b

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

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

Closes #3890 from ijuma/fix-replica-verification-test
2017-09-18 15:49:44 +01:00
Andy Chambers bd83ae6ba1 MINOR: Fix typo in mapper parameter of flatMapValues
The parameter is already called `mapper` in the KStreamImpl class. I think it was probably named `processor` here because it was copy/pasted from some other signature. This sees trivial enough to not require a jira as per the contribution guidelines.

Author: Andy Chambers <andy.chambers@fundingcircle.com>

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

Closes #3888 from cddr/fix-kstream-flatMapValues-signature
2017-09-18 15:30:25 +01:00
Matthias J. Sax b363901cbe KAFKA-5893: more logging for investigating ResetIntegrationTest failures
- improve stderr output for better debugging

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

Reviewers: Bill Bejeck <bill@confluent.io>, Guozhang Wang <wangguoz@gmail.com>

Closes #3859 from mjsax/kafka-5893-reset-integration-test
2017-09-18 20:22:24 +08:00
Damian Guy ed0e692147 KAFKA-5515; Remove date formatting from Segments
Remove date formatting from `Segments` and use the `segementId` instead.
Add tests to make sure can load old segments.
Rename old segment dirs to new formatting at load time.

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

Reviewers: tedyu <yuzhihong@gmail.com>, Matthias J. Sax <matthias@confluent.io>, Guozhang Wang <wangguoz@gmail.com>

Closes #3783 from dguy/kafka-5515
2017-09-18 12:11:56 +01:00