Skip to content
Snippets Groups Projects
  1. Mar 14, 2018
  2. Jan 31, 2018
    • Randall Hauch's avatar
      KAFKA-5142: Add Connect support for message headers (KIP-145) · 4c48942f
      Randall Hauch authored
      **[KIP-145](https://cwiki.apache.org/confluence/display/KAFKA/KIP-145+-+Expose+Record+Headers+in+Kafka+Connect) has been accepted, and this PR implements KIP-145 except without the SMTs.**
      
      Changed the Connect API and runtime to support message headers as described in [KIP-145](https://cwiki.apache.org/confluence/display/KAFKA/KIP-145+-+Expose+Record+Headers+in+Kafka+Connect).
      
      The new `Header` interface defines an immutable representation of a Kafka header (key-value pair) with support for the Connect value types and schemas. This interface provides methods for easily converting between many of the built-in primitive, structured, and logical data types.
      
      The new `Headers` interface defines an ordered collection of headers and is used to track all headers associated with a `ConnectRecord` (and thus `SourceRecord` and `SinkRecord`). This does allow multiple headers with the same key. The `Headers` contains methods for adding, removing, finding, and modifying headers. Convenience methods allow connectors and transforms to easily use and modify the headers for a record.
      
      A new `HeaderConverter` interface is also defined to enable the Connect runtime framework to be able to serialize and deserialize headers between the in-memory representation and Kafka’s byte[] representation. A new `SimpleHeaderConverter` implementation has been added, and this serializes to strings and deserializes by inferring the schemas (`Struct` header values are serialized without the schemas, so they can only be deserialized as `Map` instances without a schema.) The `StringConverter`, `JsonConverter`, and `ByteArrayConverter` have all been extended to also be `HeaderConverter` implementations. Each connector can be configured with a different header converter, although by default the `SimpleHeaderConverter` is used to serialize header values as strings without schemas.
      
      Unit and integration tests are added for `ConnectHeader` and `ConnectHeaders`, the two implementation classes for headers. Additional test methods are added for the methods added to the `Converter` implementations. Finally, the `ConnectRecord` object is already used heavily, so only limited tests need to be added while quite a few of the existing tests already cover the changes.
      
      Author: Randall Hauch <rhauch@gmail.com>
      
      Reviewers: Arjun Satish <arjun@confluent.io>, Ted Yu <yuzhihong@gmail.com>, Magesh Nandakumar <magesh.n.kumar@gmail.com>, Konstantine Karantasis <konstantine@confluent.io>, Ewen Cheslack-Postava <ewen@confluent.io>
      
      Closes #4319 from rhauch/kafka-5142-b
      4c48942f
  3. Jan 30, 2018
    • Jakub Scholz's avatar
      KAFKA-4029: SSL support for Connect REST API (KIP-208) · 3431be2a
      Jakub Scholz authored
      This PR implements the JIRA issue [KAFKA-4029: SSL support for Connect REST API](https://issues.apache.org/jira/browse/KAFKA-4029) / [KIP-208](https://cwiki.apache.org/confluence/display/KAFKA/KIP-208%3A+Add+SSL+support+to+Kafka+Connect+REST+interface).
      
      Summary of the main changes:
      - Jetty `HttpClient` is used as HTTP client instead of the one shipped with Java. That allows to keep the SSL configuration for Server and Client be in single place (both use the Jetty `SslContextFactory`). It also has much richer configuration than the JDK client (it is easier to configure things such as supported cipher suites etc.).
      - The `RestServer` class has been broker into 3 parts. `RestServer` contains the server it self. `RestClient` contains the HTTP client used for forwarding requests etc. and `SSLUtils` contain some helper classes for configuring SSL. One of the reasons for this was Findbugs complaining about the class complexity.
      - A new method `valuesWithPrefixAllOrNothing` has been added to `AbstractConfig` to make it easier to handle the situation that we want to use either only the prefixed SSL options or only the non-prefixed. But not mixed them.
      
      Author: Jakub Scholz <www@scholzj.com>
      
      Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>
      
      Closes #4429 from scholzj/kip-208
      3431be2a
  4. Nov 22, 2017
  5. Nov 06, 2017
  6. Oct 03, 2017
  7. Jul 26, 2017
  8. Jul 21, 2017
  9. Jun 07, 2017
  10. Mar 23, 2017
  11. Mar 05, 2017
    • Sönke Liebau's avatar
      KAFKA-4567 - Connect Producer and Consumer ignore ssl parameters… · b1272500
      Sönke Liebau authored
      KAFKA-4567 - Connect Producer and Consumer ignore ssl parameters configured for worker
      
      Added brief explanation to the docs about parameter inheritance of Kafka consumers and producers from the worker config.
      
      Author: Sönke Liebau <soenke.liebau@opencore.com>
      
      Reviewers: Gwen Shapira
      
      Closes #2511 from soenkeliebau/KAFKA-4567
      b1272500
  12. Jan 21, 2017
    • Shikhar Bhushan's avatar
      KAFKA-3209: KIP-66: more single message transforms · a8aa7561
      Shikhar Bhushan authored
      Renames `HoistToStruct` SMT to `HoistField`.
      
      Adds the following SMTs:
      `ExtractField`
      `MaskField`
      `RegexRouter`
      `ReplaceField`
      `SetSchemaMetadata`
      `ValueToKey`
      
      Adds HTML doc generation and updates to `connect.html`.
      
      Author: Shikhar Bhushan <shikhar@confluent.io>
      
      Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>
      
      Closes #2374 from shikhar/more-smt
      a8aa7561
  13. Dec 14, 2016
    • Derrick Or's avatar
      Separate Streams documentation and setup docs with easy to set variables · 53428694
      Derrick Or authored
      - Seperate Streams documentation out to a standalone page.
      - Setup templates to use handlebars.js
      - Create template variables to swap in frequently updated values like version number from a single file templateData.js
      
      Author: Derrick Or <derrickor@gmail.com>
      
      Reviewers: Guozhang Wang <wangguoz@gmail.com>
      
      Closes #2245 from derrickdoo/docTemplates
      53428694
  14. Oct 10, 2016
    • Vahid Hashemian's avatar
      MINOR: Fix typos in documentation · e972d2af
      Vahid Hashemian authored
      And improve readability by adding proper punctuations.
      
      Author: Vahid Hashemian <vahidhashemian@us.ibm.com>
      
      Reviewers: Jason Gustafson <jason@confluent.io>
      
      Closes #2002 from vahidhashemian/doc/fix_typos
      e972d2af
  15. Sep 08, 2016
    • Mathieu Fenniak's avatar
      MINOR: Document that Connect topics should use compaction · ca3f3a49
      Mathieu Fenniak authored
      Update documentation for Kafka Connect distributed’s config.storage.topic, offset.storage.topic, and status.storage.topic configuration values to indicate that all three should refer to compacted topics.
      
      Author: Mathieu Fenniak <mathieu.fenniak@replicon.com>
      
      Reviewers: Jason Gustafson
      
      Closes #1832 from mfenniak/kafka-connect-topic-docs
      ca3f3a49
  16. Aug 19, 2016
  17. Jun 12, 2016
    • uchan-nos's avatar
      MINOR: Fix connect development guide. · 250981fb
      uchan-nos authored
      Fix some trivial misses.
      ewencp
      
      Author: uchan-nos <uchan0@gmail.com>
      
      Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>
      
      Closes #1496 from uchan-nos/docfix-connect
      250981fb
  18. May 13, 2016
    • Liquan Pei's avatar
      KAFKA-3421: Connect developer guide update and several fixes · 527b98d8
      Liquan Pei authored
      This is a follow up of KAKFA-3421 to update the connect developer guide to include the configuration validation. Also includes a couple of minor fixes.
      
      Author: Liquan Pei <liquanpei@gmail.com>
      
      Reviewers: Jason Gustafson <jason@confluent.io>, Ewen Cheslack-Postava <ewen@confluent.io>
      
      Closes #1366 from Ishiihara/connect-dev-doc
      527b98d8
  19. May 12, 2016
  20. May 09, 2016
  21. Apr 19, 2016
    • Liquan Pei's avatar
      KAFKA-3421: Update docs with new connector features · 501fa372
      Liquan Pei authored
      ewencp gwenshap Docs. I also tried to clean up some typos. However, it seems that the we don't have two words without space in between in the source yet they showed up as no space in between in the generated doc.
      
      Author: Liquan Pei <liquanpei@gmail.com>
      
      Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>
      
      Closes #1227 from Ishiihara/config-doc
      501fa372
  22. Apr 12, 2016
    • Dongjoon Hyun's avatar
      KAFKA-3461: Fix typos in Kafka web documentations. · e79d9af3
      Dongjoon Hyun authored
      This PR fixes 8 typos in HTML files of `docs` module. I wrote explicitly here since Github sometimes does not highlight the corrections on long lines correctly.
      - docs/api.html: compatability => compatibility
      - docs/connect.html: simultaneoulsy => simultaneously
      - docs/implementation.html: LATIEST_TIME => LATEST_TIME, nPartions => nPartitions
      - docs/migration.html: Decomission => Decommission
      - docs/ops.html: stoping => stopping, ConumserGroupCommand => ConsumerGroupCommand, youre => you're
      
      Author: Dongjoon Hyun <dongjoon@apache.org>
      
      Reviewers: Ismael Juma
      
      Closes #1138 from dongjoon-hyun/KAFKA-3461
      e79d9af3
  23. Mar 03, 2016
    • Sasaki Toru's avatar
      MINOR: Fix typos in docs · 291f430d
      Sasaki Toru authored
      Author: Sasaki Toru <sasakitoa@nttdata.co.jp>
      
      Reviewers: Gwen Shapira
      
      Closes #1003 from sasakitoa/Fix_typo_in_docs
      291f430d
  24. Nov 16, 2015
    • Grant Henke's avatar
      KAFKA-2809; Improve documentation linking · 6cbd9759
      Grant Henke authored
      Often it is useful to link to a specific header within the documentation. Especially when referencing docs in the mailing lists.
      
      This adds anchors and links for all headers in the docs.
      
      Author: Grant Henke <granthenke@gmail.com>
      
      Reviewers: Jun Rao <junrao@gmail.com>
      
      Closes #498 from granthenke/doc-links
      6cbd9759
  25. Nov 10, 2015
Loading