Skip to content

Docs: updated names for deprecated streams constants#6466

Merged
mjsax merged 2 commits intoapache:trunkfrom
londoncalling:Kafka-current-deprecated-constants
Mar 19, 2019
Merged

Docs: updated names for deprecated streams constants#6466
mjsax merged 2 commits intoapache:trunkfrom
londoncalling:Kafka-current-deprecated-constants

Conversation

@londoncalling
Copy link
Copy Markdown
Contributor

@londoncalling londoncalling commented Mar 18, 2019

Description

Docs update: Streams Developer Guide

  • KEY_SERDE_CLASS_CONFIG and VALUE_KEY_SERDE_CLASS_CONFIG were deprecated in https://kafka.apache.org/11/javadoc/deprecated-list.html and replaced by DEFAULT_KEY_SERDE_CLASS_CONFIG and DEFAULT_VALUE_KEY_SERDE_CLASS_CONFIG

  • Replaced deprecated constants in example code with up-to-date ones in 11 and all subsequent versions

Related

PR on apache/kafka-site: apache/kafka-site#191

cc, please review/merge:

Signed-off-by: Victoria Bialas vicky@confluent.io

Signed-off-by: Victoria Bialas <vicky@confluent.io>
Copy link
Copy Markdown
Contributor

@JimGalasyn JimGalasyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mjsax
Copy link
Copy Markdown
Member

mjsax commented Mar 19, 2019

@londoncalling! Same comment as in kafka-site/191 -- can we update timestamp.extractor to default.timestamp.extractor, too?

@londoncalling
Copy link
Copy Markdown
Contributor Author

londoncalling commented Mar 19, 2019 via email

Signed-off-by: Victoria Bialas <vicky@confluent.io>
@londoncalling
Copy link
Copy Markdown
Contributor Author

@mjsax , on the most recent commit, I replaced TIMESTAMP_EXTRACTOR_CLASS_CONFIG with DEFAULT_TIMESTAMP_EXTRACTOR_CLASS_CONFIG in the code example for defining a custom timestamp extractor in Developer Guide topic on Configuring a Streams Application

(Same as for apache/kafka-site#191, only on that one multiple versions updated)

If all is good, feel free to merge, or let me know if you need anything else!

@mjsax mjsax merged commit 70ee724 into apache:trunk Mar 19, 2019
@mjsax
Copy link
Copy Markdown
Member

mjsax commented Mar 19, 2019

Thanks a lot for the PR @londoncalling!

mjsax pushed a commit that referenced this pull request Mar 19, 2019
* updated names for deprecated streams constants
* add DEFAULT_TIMESTAMP_EXTRACTOR_CLASS_CONFIG in place of deprecated

Reviewers: Jim Galasyn <jim.galasyn@confluent.io>, Matthias J. Sax <matthias@confluent.io>
mjsax pushed a commit that referenced this pull request Mar 19, 2019
* updated names for deprecated streams constants
* add DEFAULT_TIMESTAMP_EXTRACTOR_CLASS_CONFIG in place of deprecated

Reviewers: Jim Galasyn <jim.galasyn@confluent.io>, Matthias J. Sax <matthias@confluent.io>
@mjsax
Copy link
Copy Markdown
Member

mjsax commented Mar 19, 2019

Merged to trunk and cherry-picked to 2.2 and 2.1. Cherry-picking to 2.0 resulted in conflicts.

Might be worth to do a new PR for 2.0 ?

jarekr pushed a commit to confluentinc/kafka that referenced this pull request Apr 18, 2019
* apache/trunk: (23 commits)
  KAFKA-7986: Distinguish logging from different ZooKeeperClient instances (apache#6493)
  KAFKA-8102: Add an interval-based Trogdor transaction generator (apache#6444)
  MINOR: Fix misspelling in protocol documentation
  KAFKA-8150: Fix bugs in handling null arrays in generated RPC code (apache#6489)
  KAFKA-8014: Extend Connect integration tests to add and remove workers dynamically (apache#6342)
  MINOR: Remove line for testing repartition topic name (apache#6488)
  MINOR: add MacOS requirement to Streams docs
  MINOR: fix message protocol help text for ElectPreferredLeadersResult (apache#6479)
  MINOR: list-topics should not require topic param
  MINOR: Clean up ThreadCacheTest (apache#6485)
  MINOR: Avoid unnecessary collection copy in MetadataCache (apache#6397)
  KAFKA-8142: Fix NPE for nulls in Headers (apache#6484)
  KAFKA-7243: Add unit integration tests to validate metrics in Kafka Streams (apache#6080)
  MINOR: Add verification step for Streams archetype to Jenkins build (apache#6431)
  KAFKA-7819: Improve RoundTripWorker (apache#6187)
  KAFKA-7989: RequestQuotaTest should wait for quota config change before running tests (apache#6482)
  KAFKA-8098: Fix Flaky Test testConsumerGroups
  KAFKA-6958: Add new NamedOperation interface to enforce consistency in naming operations (apache#6409)
  MINOR: capture result timestamps in Kafka Streams DSL tests (apache#6447)
  MINOR: updated names for deprecated streams constants (apache#6466)
  ...
@londoncalling londoncalling deleted the Kafka-current-deprecated-constants branch April 23, 2019 00:26
pengxiaolong pushed a commit to pengxiaolong/kafka that referenced this pull request Jun 14, 2019
* updated names for deprecated streams constants
* add DEFAULT_TIMESTAMP_EXTRACTOR_CLASS_CONFIG in place of deprecated

Reviewers: Jim Galasyn <jim.galasyn@confluent.io>, Matthias J. Sax <matthias@confluent.io>
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.

3 participants