[
https://issues.apache.org/jira/browse/CAMEL-27990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-27990.
---------------------------------
Resolution: Fixed
Merged in https://github.com/apache/camel/pull/31275
(fd45e1c0a1e2164a152e367d944237b4acaa83a2) for 4.25.0.
> camel-kafka - dev console bugs and repository metadata
> ------------------------------------------------------
>
> Key: CAMEL-27990
> URL: https://issues.apache.org/jira/browse/CAMEL-27990
> Project: Camel
> Issue Type: Bug
> Components: camel-kafka
> Reporter: Claus Ibsen
> Assignee: Guillaume Nodet
> Priority: Minor
> Fix For: 4.25.0
>
>
> h4. 1. KafkaDevConsole text: Commit Offset Since prints about 56 years
> It computes System.currentTimeMillis() - r.epoch(), but epoch is
> OffsetAndMetadata.leaderEpoch(), not a time. Proposed change: drop the line
> or print the leader epoch.
> h4. 2. DefaultMetricsCollector.collectCommitMetrics: the console waits the
> full timeout and shows nothing
> consumer.committed(assignment) returns null for a partition with no committed
> offset; e.getValue().offset() throws a NullPointerException that is caught,
> and the latch is never counted down. Proposed change: skip null values.
> h4. 3. KafkaIdempotentRepository / KafkaKeyValueRepository metadata
> consumerConfig/producerConfig have no @Metadata, and bootstrapServers is
> marked required although it is not needed when those are set.
> Found while checking the option and console descriptions of CAMEL-27980.
> ----
> _Filed by Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)