davsclaus opened a new pull request, #31191: URL: https://github.com/apache/camel/pull/31191
# Description Part of [CAMEL-23832](https://issues.apache.org/jira/browse/CAMEL-23832) (the shared ticket stays open). Batch 34: the component, option and header descriptions of 8 data and messaging components: camel-hazelcast, camel-infinispan, camel-mongodb, camel-jpa, camel-nats, camel-pulsar, camel-google-pubsub and camel-aws2-kinesis. Each text was checked against the Camel code and against what Hazelcast, the Infinispan Hot Rod client, the MongoDB Java driver, JPA, jnats, the Pulsar client, the Google Cloud Pub/Sub client and the AWS SDK / KCL do with the value. ## Summary - camel-hazelcast: 11 component descriptions, 13 options, 14 headers. The texts give the order in which an endpoint picks its instance (hazelcastInstance, hazelcastInstanceName, hazelcastConfig, hazelcastConfigUri, the component's instance, else its own instance), the poll waits (pollingTimeout, pollTimeout) are capped at 1000 ms per poll, poolSize only ever uses one thread, and the TTL header must be a Long set together with its unit. - camel-infinispan: component description, 1 component option, 21 endpoint options. embeddingStoreDistance is the k of the kNN query (the number of nearest embeddings), the default type name is CamelInfinispanRemoteEmbedding<dimension>, hosts gives the format and the default port 11222, and the SASL texts give the Hot Rod defaults. The doc page has the kNN text, the current query example and the right port. - camel-mongodb: component description, 48 options, 23 headers. dynamicity reads the CamelMongoDbDatabase and CamelMongoDbCollection headers, createCollection does not create the collection (MongoDB does on the first write), outputType Document has no effect, CamelMongoDbResultTotalSize is set by findById and findOneByQuery, and writeConcern ACKNOWLEDGED means the server default. The doc page no longer describes the removed WriteResult and getLastError API, and CamelMongoDbRecordsAffected is a long. - camel-jpa: 28 endpoint options, 4 component options, 1 header. resultClass is also used by the producer, consumeLockEntity locks with lockModeType, useExecuteUpdate is auto-detected for query and nativeQuery, the emf. properties default to the JVM system properties, and consumeDelete is not used with @Consumed or a deleteHandler. - camel-nats: component description, 42 options, 9 headers. durableName gets -durable appended on the server, the timestamp header is when Camel received the message, a larger poolSize does not process messages in parallel, replySubject is only used for InOnly, and an InOut request is currently limited by requestCleanupInterval whatever the requestTimeout (also on the doc page). - camel-pulsar: component description, 45 options, 13 headers. Units, minimums and "0 = off" values follow the Pulsar client 4.2, the texts say which subscription types numberOfConsumers, consumerNamePrefix and readCompacted apply to, chunkingEnabled needs batchingEnabled=false, and batchingMaxMessages is currently not passed to the client. - camel-google-pubsub: component description, 21 options, 5 headers. pubsubEndpoint is not required (it sets a regional endpoint for ordering), maxMessagesPerPoll only applies to synchronousPull and maxAckExtensionPeriod does not, the library already retries INTERNAL, and the ack id header is only set by the synchronous consumer. The doc page gives an example of a regional endpoint. - camel-aws2-kinesis: 2 component descriptions, 39 options, 17 headers. The region of aws2-kinesis no longer says Firehose, asyncClient is not used by the producer and is needed by the KCL consumer (or amazonKinesisAsyncClient), cborEnabled sets the JVM property aws.cborEnabled and has no effect on the Firehose client, and the iterator options say what the KCL consumer ignores. Documentation only. Offline rebuild of the modules (reactor build), the catalog copies (component JSON and the changed doc pages) and the Endpoint/Component DSL; the generated JSON changes in description texts only. _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]
