You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "TengYao Chi (Jira)" <ji...@apache.org> on 2024/12/15 23:29:00 UTC

[jira] [Commented] (KAFKA-18259) Documentation for consumer auto.offset.reset contains invalid HTML

    [ https://issues.apache.org/jira/browse/KAFKA-18259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17905847#comment-17905847 ] 

TengYao Chi commented on KAFKA-18259:
-------------------------------------

Hi [~schofielaj] 

May I take over this issue ?

> Documentation for consumer auto.offset.reset contains invalid HTML
> ------------------------------------------------------------------
>
>                 Key: KAFKA-18259
>                 URL: https://issues.apache.org/jira/browse/KAFKA-18259
>             Project: Kafka
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 4.0.0
>            Reporter: Andrew Schofield
>            Priority: Minor
>
> The auto.offset.reset config now permits `by_duration:<duration>`. However, the documentation for this config needs some care because it is turned into HTML. In particular, the `<duration>` is not allowed and should be `
> {noformat}
> &lt;duration&gt;
> {noformat}
> ` instead.
> Also, the `AutoOffsetResetStrategy.Validator` class needs a `toString()` method since the documentation will contain the result of calling that method on the validator.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)