This is an automated email from the ASF dual-hosted git repository.

philippus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko-connectors-kafka.git


The following commit(s) were added to refs/heads/main by this push:
     new 4744b1b0 Address link to java.time.Duration$ in scaladoc (#496)
4744b1b0 is described below

commit 4744b1b0d712afeaf916c26d676a4889dafbb2c8
Author: Philippus Baalman <[email protected]>
AuthorDate: Mon Apr 6 12:29:18 2026 +0200

    Address link to java.time.Duration$ in scaladoc (#496)
    
    * Update preprocessRules for java 17
    
    * Backtick java.time.duration.ZERO
    
    * Add missing parenthesis
---
 build.sbt                                                         | 4 ++--
 core/src/main/scala/org/apache/pekko/kafka/ConsumerSettings.scala | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/build.sbt b/build.sbt
index 85314642..1768c35b 100644
--- a/build.sbt
+++ b/build.sbt
@@ -145,8 +145,8 @@ lazy val docs = project
     Preprocess / preprocessRules := Seq(
       ("\\.java\\.scala".r, _ => ".java"), ("https://javadoc\\.io/page/".r, _ 
=> "https://javadoc\\.io/static/";),
       // bug in Scaladoc
-      
("https://docs\\.oracle\\.com/en/java/javase/11/docs/api/java.base/java/time/Duration\\$.html".r,
-        _ => 
"https://docs\\.oracle\\.com/en/java/javase/11/docs/api/java.base/java/time/Duration.html";)),
+      
("https://docs\\.oracle\\.com/en/java/javase/17/docs/api/java.base/java/time/Duration\\$.html".r,
+        _ => 
"https://docs\\.oracle\\.com/en/java/javase/17/docs/api/java.base/java/time/Duration.html";)),
     Paradox / siteSubdirName := 
s"docs/pekko-connectors-kafka/${projectInfoVersion.value}",
     ParadoxSettings.settings)
 
diff --git a/core/src/main/scala/org/apache/pekko/kafka/ConsumerSettings.scala 
b/core/src/main/scala/org/apache/pekko/kafka/ConsumerSettings.scala
index 99aaa4e0..89d64936 100644
--- a/core/src/main/scala/org/apache/pekko/kafka/ConsumerSettings.scala
+++ b/core/src/main/scala/org/apache/pekko/kafka/ConsumerSettings.scala
@@ -432,7 +432,7 @@ class ConsumerSettings[K, V] @InternalApi private[kafka] (
    * Java API:
    * If set to a finite duration, the consumer will re-send the last committed 
offsets periodically
    * for all assigned partitions. @see 
https://issues.apache.org/jira/browse/KAFKA-4682
-   * Set to [[java.time.Duration.ZERO]] to switch it off.
+   * Set to `java.time.Duration.ZERO` to switch it off.
    *
    * @see https://issues.apache.org/jira/browse/KAFKA-4682
    */


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to