Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38,241 changes: 18,364 additions & 19,877 deletions camel-spring-boot-sbom/camel-spring-boot-sbom.json

Large diffs are not rendered by default.

31,307 changes: 15,189 additions & 16,118 deletions camel-spring-boot-sbom/camel-spring-boot-sbom.xml

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@
"sourceType": "org.apache.camel.component.google.firestore.springboot.GoogleFirestoreComponentConfiguration",
"defaultValue": false
},
{
"name": "camel.component.google-firestore.max-pending-changes",
"type": "java.lang.Integer",
"description": "Maximum number of realtime document changes buffered between two polls. The changes reported by the snapshot listener are buffered until the next poll picks them up, so a collection changing faster than the route consumes it makes that buffer grow. When the buffer is full the oldest buffered change is discarded and a warning is logged. Use 0 for an unbounded buffer. Only used when realtimeUpdates is enabled.",
"sourceType": "org.apache.camel.component.google.firestore.springboot.GoogleFirestoreComponentConfiguration",
"defaultValue": 0
},
{
"name": "camel.component.google-firestore.operation",
"type": "org.apache.camel.component.google.firestore.GoogleFirestoreOperations",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,15 @@ public class GoogleFirestoreComponentConfiguration
* collection
*/
private Boolean realtimeUpdates = false;
/**
* Maximum number of realtime document changes buffered between two polls.
* The changes reported by the snapshot listener are buffered until the next
* poll picks them up, so a collection changing faster than the route
* consumes it makes that buffer grow. When the buffer is full the oldest
* buffered change is discarded and a warning is logged. Use 0 for an
* unbounded buffer. Only used when realtimeUpdates is enabled.
*/
private Integer maxPendingChanges = 0;
/**
* The document ID to use for document-specific operations
*/
Expand Down Expand Up @@ -181,6 +190,14 @@ public void setRealtimeUpdates(Boolean realtimeUpdates) {
this.realtimeUpdates = realtimeUpdates;
}

public Integer getMaxPendingChanges() {
return maxPendingChanges;
}

public void setMaxPendingChanges(Integer maxPendingChanges) {
this.maxPendingChanges = maxPendingChanges;
}

public String getDocumentId() {
return documentId;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Please refer to the above links for usage and configuration details.

== Spring Boot Auto-Configuration

The starter supports 14 options, which are listed below.
The starter supports 15 options, which are listed below.

[width="100%",cols="2,5,^1,2",options="header"]
|===
Expand All @@ -38,6 +38,7 @@ The starter supports 14 options, which are listed below.
| camel.component.google-firestore.health-check-consumer-enabled | Used for enabling or disabling all consumer based health checks from this component | true | Boolean
| camel.component.google-firestore.health-check-producer-enabled | Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on producer checks globally by setting camel.health.producersEnabled=true. | true | Boolean
| camel.component.google-firestore.lazy-start-producer | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | Boolean
| camel.component.google-firestore.max-pending-changes | Maximum number of realtime document changes buffered between two polls. The changes reported by the snapshot listener are buffered until the next poll picks them up, so a collection changing faster than the route consumes it makes that buffer grow. When the buffer is full the oldest buffered change is discarded and a warning is logged. Use 0 for an unbounded buffer. Only used when realtimeUpdates is enabled. | 0 | Integer
| camel.component.google-firestore.operation | Set the operation for the producer. | | GoogleFirestoreOperations
| camel.component.google-firestore.project-id | The Google Cloud project ID. If not specified, it will be determined from the service account key or environment. | | String
| camel.component.google-firestore.realtime-updates | When true, the consumer will listen for real-time updates on the collection | false | Boolean
Expand Down