davsclaus opened a new pull request, #30965:
URL: https://github.com/apache/camel/pull/30965

   # Description
   
   Part of [CAMEL-23832](https://issues.apache.org/jira/browse/CAMEL-23832). 
The umbrella ticket stays open.
   
   ## Summary
   
   This PR rewrites the component description and the texts of 27 options (25 
of them shared by the component and the
   endpoint through `IggyConfiguration`) and of 6 headers of `camel-iggy`.
   
   - The old `clientTransport` text said "Polling strategy".
   - The topic options (`partitionsCount`, `compressionAlgorithm`, 
`messageExpiry`, `maxTopicSize`, `iggyHeaderOptions`)
     now say that they apply only to a topic that `autoCreateTopic` creates.
   - `autoCommit` and `startingOffset` now say where the offset is kept: on the 
server when `autoCommit` is true (stored
     when the messages are polled, before the route processes them), in memory 
only when it is false.
   - `pollingStrategy` now says that it applies only when `autoCommit` is true, 
and what `next`, `first` and `last` poll.
   - `streamId` now says that it is only looked up by `autoCreateStream`; the 
stream is always addressed by `streamName`.
   - The timestamp headers now say that the values are in microseconds since 
the Unix epoch, and which side sets them.
   
   Sources: the Camel code of the component and the Apache Iggy Java client 
0.9.0 (`org.apache.iggy:iggy`).
   
   ### Found, not changed
   
   - `consumersCount` sizes the thread pool of the consumer, but the consumer 
submits one polling task only, so a value
     above 1 does not add parallel polling.
   - When `streamId` is set, `autoCreateStream` creates a stream named 
`streamName` (not one with that ID), also for a
     message with a `CamelIggyStreamOverride` header: the stream of the header 
is then not created.
   - `partitioning` has `defaultValue = "balanced"`, but there is no type 
converter from a String to
     `org.apache.iggy.message.Partitioning`, so the option can only be set with 
a bean reference.
   - `password` has `security = "secret"` but no `label = "security"`, while 
`username` has it.
   - `shutdownTimeout` has `label = "common,consumer"`, but only the consumer 
reads it.
   
   ## Tests
   
   - There is no new test, as only description text changes.
   - A script compared the component JSON with the parent commit: only 
`description` fields changed (1 component
     description, 25 component options, 27 endpoint options, 6 headers).
   
   # Target
   
   - [x] I checked that the commit is targeting the correct branch (Camel 4 
uses the `main` branch)
   
   # Tracking
   
   - [x] If this is a large change, bug fix, or code improvement, I checked 
there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for 
the change (usually before you start working on it).
   
   # Apache Camel coding standards and style
   
   - [x] I checked that each commit in the pull request has a meaningful 
subject line and body.
   - [x] I ran the formatter and built the module, then regenerated the catalog 
copy, `dsl/camel-endpointdsl` and `dsl/camel-componentdsl`, and committed all 
generated changes.
   
   # AI-assisted contributions
   
   - [x] If this PR includes AI-generated code, commits have proper 
co-authorship attribution (e.g., `Co-authored-by` trailers) and the PR 
description identifies the AI tool used.
   
   _Claude Code on behalf of davsclaus_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to