Skip to content
Snippets Groups Projects
  1. Feb 26, 2019
  2. Feb 04, 2019
    • Viktor Somogyi-Vass's avatar
      KAFKA-7804: Update docs for topic-command related KIP-377 · 776041db
      Viktor Somogyi-Vass authored
      This PR adds a upgrade notes and changes examples to use the bootstrap-server.
      
      Author: Viktor Somogyi-Vass <viktorsomogyi@gmail.com>
      
      Reviewers: Srinivas <srinivas96alluri@gmail.com>, Manikumar Reddy <manikumar.reddy@gmail.com>
      
      Closes #6118 from viktorsomogyi/topiccommand-adminclient-doc
      776041db
  3. Jan 02, 2019
    • hejiefang's avatar
      MINOR: Fix doc format in upgrade notes · ffd6f2a2
      hejiefang authored
      Author: hejiefang <he.jiefang@zte.com.cn>
      
      Reviewers: Srinivas <srinivas96alluri@gmail.com>, Manikumar Reddy <manikumar.reddy@gmail.com>
      
      Closes #6076 from hejiefang/modifynotable
      ffd6f2a2
  4. Nov 16, 2018
  5. Nov 06, 2018
    • Jason Gustafson's avatar
      KAFKA-7481; Add upgrade/downgrade notes for 2.1.x · 63889b36
      Jason Gustafson authored
      We seemed to be missing the usual rolling upgrade instructions so I've added them and emphasized the impact for downgrades after bumping the inter-broker protocol version.
      
      Author: Jason Gustafson <jason@confluent.io>
      
      Reviewers: Dong Lin <lindong28@gmail.com>, Ismael Juma <ismael@juma.me.uk>
      
      Closes #5857 from hachikuji/KAFKA-7481
      63889b36
  6. Oct 25, 2018
    • Viktor Somogyi's avatar
      MINOR: add upgrade note for KIP-336 · 262bb006
      Viktor Somogyi authored
      Author: Viktor Somogyi <viktorsomogyi@gmail.com>
      
      Reviewers: Ismael Juma <ismael@juma.me.uk>, Andras Katona <41361962+akatona84@users.noreply.github.com>, Dong Lin <lindong28@gmail.com>
      
      Closes #5685 from viktorsomogyi/upgrade-notes-for-serializer-consolidation
      262bb006
  7. Oct 18, 2018
  8. Oct 16, 2018
  9. Sep 03, 2018
  10. Aug 20, 2018
  11. Aug 13, 2018
  12. Aug 01, 2018
  13. Jul 26, 2018
  14. Jul 23, 2018
    • Rajini Sivaram's avatar
      KAFKA-7193: Use ZooKeeper IP address in streams tests to avoid timeouts (#5414) · 4b60ed32
      Rajini Sivaram authored
      ZooKeeper client from version 3.4.13 doesn't handle connections to localhost very well. If ZooKeeper is started on 127.0.0.1 on a machine that has both ipv4 and ipv6 and a client is created using localhost rather than the IP address in the connection string, ZooKeeper client attempts to connect to ipv4 or ipv6 randomly with a fixed one second backoff if connection fails. Use 127.0.0.1 instead of localhost in streams tests to avoid intermittent test failures due to ZK client connection timeouts if ipv6 is chosen in consecutive address selections. Also add note to upgrade docs for 2.0.0.
      
      Reviewers: Ismael Juma <github@juma.me.uk>, Matthias J. Sax <matthias@confluent.io>
  15. Jul 20, 2018
  16. Jul 18, 2018
  17. Jun 26, 2018
  18. Jun 22, 2018
    • Vahid Hashemian's avatar
      KAFKA-4682; Revise expiration semantics of consumer group offsets (KIP-211 - Part 1) (#4896) · 418a91b5
      Vahid Hashemian authored
      This patch contains the improved offset expiration semantics proposed in KIP-211. Committed offsets will not be expired as long as a group is active. Once all members have left the group, then offsets will be expired after the timeout configured by `offsets.retention.minutes`. Note that the optimization for early expiration of unsubscribed topics will be implemented in a separate patch.
      418a91b5
  19. Jun 19, 2018
    • Ismael Juma's avatar
      KAFKA-2983: Remove Scala consumers and related code (#5230) · cc4dce94
      Ismael Juma authored
      - Removed Scala consumers (`SimpleConsumer` and `ZooKeeperConsumerConnector`)
      and their tests.
      - Removed Scala request/response/message classes.
      - Removed any mention of new consumer or new producer in the code
      with the exception of MirrorMaker where the new.consumer option was
      never deprecated so we have to keep it for now. The non-code
      documentation has not been updated either, that will be done
      separately.
      - Removed a number of tools that only made sense in the context
      of the Scala consumers (see upgrade notes).
      - Updated some tools that worked with both Scala and Java consumers
      so that they only support the latter (see upgrade notes).
      - Removed `BaseConsumer` and related classes apart from `BaseRecord`
      which is used in `MirrorMakerMessageHandler`. The latter is a pluggable
      interface so effectively public API.
      - Removed `ZkUtils` methods that were only used by the old consumers.
      - Removed `ZkUtils.registerBroker` and `ZKCheckedEphemeral` since
      the broker now uses the methods in `KafkaZkClient` and no-one else
      should be using that method.
      - Updated system tests so that they don't use the Scala consumers except
      for multi-version tests.
      - Updated LogDirFailureTest so that the consumer offsets topic would
      continue to be available after all the failures. This was necessary for it
      to work with the Java consumer.
      - Some multi-version system tests had not been updated to include
      recently released Kafka versions, fixed it.
      - Updated findBugs and checkstyle configs not to refer to deleted
      classes and packages.
      
      Reviewers: Dong Lin <lindong28@gmail.com>, Manikumar Reddy <manikumar.reddy@gmail.com>
  20. Jun 18, 2018
  21. Jun 15, 2018
  22. Jun 13, 2018
    • Jason Gustafson's avatar
      KAFKA-7050; Decrease default consumer request timeout to 30s (#5203) · 443091b8
      Jason Gustafson authored
      This patch changes the default `request.timeout.ms` of the consumer to 30 seconds. Additionally, it adds logic to `NetworkClient` and related to components to support timeouts at the request level. We use this to handle the special case of the JoinGroup request, which may block for as long as the value configured by `max.poll.interval.ms`.
      
      Reviewers: Ismael Juma <ismael@juma.me.uk>, Guozhang Wang <guozhang@confluent.io>
  23. Jun 12, 2018
    • Dhruvil Shah's avatar
      KAFKA-6979; Add `default.api.timeout.ms` to KafkaConsumer (KIP-266) (#5122) · 53ca52f8
      Dhruvil Shah authored
      Adds a configuration that specifies the default timeout for KafkaConsumer APIs that could block. This was introduced in KIP-266.
      
      Reviewers: Satish Duggana <satish.duggana@gmail.com>, Jason Gustafson <jason@confluent.io>
      53ca52f8
    • Andy Coates's avatar
      KAFKA-7007: Use JSON for /kafka-acl-extended-changes path (#5161) · a5924025
      Andy Coates authored
      Keep Literal ACLs on the old paths, using the old formats, to maintain backwards compatibility.
      Have Prefixed, and any latter types, go on new paths, using JSON, (old brokers are not aware of them)
      Add checks to reject any adminClient requests to add prefixed acls before the cluster is fully upgraded.
      
      Colin Patrick McCabe <colin@cmccabe.xyz>, Jun Rao <junrao@gmail.com>
      a5924025
    • Dong Lin's avatar
      MINOR: Remove deprecated per-partition lag metrics · 4580d9f1
      Dong Lin authored
      It takes O(n^2) time to instantiate a mbean with n attributes which can be very slow if the number of attributes of this mbean is large. This PR removes metrics whose number of attributes can grow with the number of partitions in the cluster to fix the performance issue. These metrics have already been marked for removal in 2.0 by KIP-225.
      
      Author: Dong Lin <lindong28@gmail.com>
      
      Reviewers: Ismael Juma <ismael@juma.me.uk>
      
      Closes #5172 from lindong28/remove-deprecated-metrics
      4580d9f1
  24. Jun 06, 2018
  25. Jun 05, 2018
  26. Jun 03, 2018
  27. Jun 02, 2018
    • Vahid Hashemian's avatar
      KAFKA-6955: Use Java AdminClient in DeleteRecordsCommand (#5088) · 341d5db2
      Vahid Hashemian authored
      - Removed internal kafka.admin.AdminClient.deleteRecordsBefore since it's
      no longer used.
      - Removed redundant tests and rewrote non redundant ones to use the Java
      AdminClient.
      
      Reviewers: Viktor Somogyi <viktor.somogyi@cloudera.com>, Manikumar Reddy <manikumar.reddy@gmail.com>, Ismael Juma <ismael@juma.me.uk>
      341d5db2
  28. May 31, 2018
    • Jason Gustafson's avatar
      MINOR: Follow-up improvements for KIP-266 (#5084) · 3683d475
      Jason Gustafson authored
      This patch contains a few follow-up improvements/cleanup for KIP-266:
      
      - Add upgrade notes
      - Add missing `commitSync(Duration)` API
      - Improve timeout messages and fix some naming inconsistencies
      - Various small cleanups
      
      Reviewers: John Roesler <john@confluent.io>, Guozhang Wang <wangguoz@gmail.com>
  29. May 30, 2018
    • Jon Lee's avatar
      KAFKA-6028: Improve the quota throttle communication (KIP-219) · 1facab38
      Jon Lee authored
      This implements KIP-219, where a broker returns a response with throttle time on
      quota violation immediately after processing the corresponding request.  After
      the response is sent out, the broker will keep the channel muted until the
      throttle time is over. Also, on receiving a response with throttle time, client
      will block outgoing communication to the broker for the specified throttle time.
      
      See PR 4830, 5064 and 5094 for all the review history
      
      Author: Jon Lee <jonlee@jonlee-ld1.linkedin.biz>
      
      Reviewers: Jun Rao <junrao@gmail.com>, Rajini Sivaram <rajinisivaram@googlemail.com>, Ismael Juma <ismael@juma.me.uk>,  Dong Lin <lindong28@gmail.com>
      
      Closes #5064 from jonlee2/kip-219
      1facab38
  30. May 29, 2018
    • Chris Egerton's avatar
      KAFKA-5540: Deprecate internal converter configs (KIP-174) · a64ab912
      Chris Egerton authored
      Implementation of [KIP-174](https://cwiki.apache.org/confluence/display/KAFKA/KIP-174+-+Deprecate+and+remove+internal+converter+configs+in+WorkerConfig)
      
      Configuration properties 'internal.key.converter' and 'internal.value.converter'
      are deprecated, and default to org.apache.kafka.connect.json.JsonConverter.
      
      Warnings are logged if values are specified for either, or if properties that
      appear to configure instances of internal converters (i.e., ones prefixed with
      either 'internal.key.converter.' or 'internal.value.converter.') are given.
      
      The property 'schemas.enable' is also defaulted to false for internal
      JsonConverter instances (both for keys and values) if it isn't specified.
      
      Documentation and code have also been updated with deprecation notices and
      annotations, respectively.
      
      Unit tests have been updated in `PluginsTest` to account for the new defaults for `schemas.enable` for internal key/value converters, and to ensure that (for the time being), internal key/value converters are still configurable despite being deprecated.
      
      Author: Chris Egerton <chrise@confluent.io>
      Author: Ewen Cheslack-Postava <me@ewencp.org>
      
      Reviewers: Randall Hauch <rhauch@gmail.com>, Ewen Cheslack-Postava <ewen@confluent.io>
      
      Closes #4693 from C0urante/kafka-5540
      a64ab912
  31. May 25, 2018
    • Ismael Juma's avatar
      KAFKA-6921; Remove old Scala producer and related code · 7132a85f
      Ismael Juma authored
      * Removed Scala producers, request classes, kafka.tools.ProducerPerformance, encoders,
      tests.
      * Updated ConsoleProducer to remove Scala producer support (removed `BaseProducer`
      and several options that are not used by the Java producer).
      * Updated a few Scala consumer tests to use the new producer (including a minor
      refactor of `produceMessages` methods in `TestUtils`).
      * Updated `ClientUtils.fetchTopicMetadata` to use `SimpleConsumer` instead of
      `SyncProducer`.
      * Removed `TestKafkaAppender` as it looks useless and it defined an `Encoder`.
      * Minor import clean-ups
      
      No new tests added since behaviour should remain the same after these changes.
      
      Author: Ismael Juma <ismael@juma.me.uk>
      
      Reviewers: Manikumar Reddy O <manikumar.reddy@gmail.com>, Dong Lin <lindong28@gmail.com>
      
      Closes #5045 from ijuma/kafka-6921-remove-old-producer
      7132a85f
  32. May 22, 2018
    • Ismael Juma's avatar
      KAFKA-4423: Drop support for Java 7 (KIP-118) and update deps (#5046) · e70a191d
      Ismael Juma authored
      * Set --source, --target and --release to 1.8.
      * Build Scala 2.12 by default.
      * Remove some conditionals in the build file now that Java 8
      is the minimum version.
      * Bump the version of Jetty, Jersey and Checkstyle (the newer
      versions require Java 8).
      * Fixed issues uncovered by the new version if Checkstyle.
      * A couple of minor updates to handle an incompatible source
      change in the new version of Jetty.
      * Add dependency to jersey-hk2 to fix failing tests caused
      by Jersey upgrade.
      * Update release script to use Java 8 and to take into account
      that Scala 2.12 is now built by default.
      * While we're at it, bump the version of Gradle, Gradle plugins,
      ScalaLogging, JMH and apache directory api.
      * Minor documentation updates including the readme and upgrade
      notes. A number of Streams Java 7 examples can be removed
      subsequently.
  33. May 16, 2018
  34. May 10, 2018
Loading