Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-2063: Preserve behaviour of fetch requests version 2 and below and add tests #5

Merged
merged 7 commits into from
Sep 17, 2016

Conversation

ijuma
Copy link

@ijuma ijuma commented Sep 17, 2016

Please review @nepal.

dguy and others added 5 commits September 16, 2016 09:58
This is joint work between dguy and enothereska. The work implements KIP-63. Overview of main changes:

- New byte-based cache that acts as a buffer for any persistent store and for forwarding changes downstream.
- Forwarding record path changes: previously a record in a task completed end-to-end. Now it may be buffered in a processor node while other records complete in the task.
- Cleanup and state stores and decoupling of cache from state store and forwarding.
- More than 80 new unit and integration tests.

Author: Damian Guy <damian.guy@gmail.com>
Author: Eno Thereska <eno.thereska@gmail.com>

Reviewers: Matthias J. Sax, Guozhang Wang

Closes apache#1752 from enothereska/KAFKA-3776-poc
…ert 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 apache#1867 from rhauch/kafka-4183
…t field when target field is optional

Author: Shikhar Bhushan <shikhar@confluent.io>

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

Closes apache#1865 from shikhar/kafka-4173
@ijuma ijuma force-pushed the kafka-2063-bound-fetch-response-size branch from 67544ce to 7534e9e Compare September 17, 2016 00:55
arrawatia and others added 2 commits September 17, 2016 07:53
This PR implements  KIP-78:Cluster Identifiers [(link)](https://cwiki.apache.org/confluence/display/KAFKA/KIP-78%3A+Cluster+Id#KIP-78:ClusterId-Overview) and includes the following changes:

1. Changes to broker code
	- generate cluster id and store it in Zookeeper
	- update protocol to add cluster id to metadata request and response
	- add ClusterResourceListener interface, ClusterResource class and ClusterMetadataListeners utility class
	- send ClusterResource events to the metric reporters
2. Changes to client code
	- update Cluster and Metadata code to support cluster id
	- update clients for sending ClusterResource events to interceptors, (de)serializers and metric reporters
3. Integration tests for interceptors, (de)serializers and metric reporters for clients and for protocol changes and metric reporters for broker.
4. System tests for upgrading from previous versions.

Author: Sumit Arrawatia <sumit.arrawatia@gmail.com>
Author: Ismael Juma <ismael@juma.me.uk>

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

Closes apache#1830 from arrawatia/kip-78
…ch-response-size

* apache/trunk:
  KAFKA-4093; Cluster Id (KIP-78)
  KAFKA-4173; SchemaProjector should successfully project missing Struct field when target field is optional
  KAFKA-4183; Corrected Kafka Connect's JSON Converter to properly convert from null to logical values
  KAFKA-3776: Unify store and downstream caching in streams
@ijuma
Copy link
Author

ijuma commented Sep 17, 2016

Also merged trunk and fixed merge conflicts.

@nepal nepal merged commit b75ee68 into nepal:kip-74 Sep 17, 2016
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.

6 participants