You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by an...@apache.org on 2025/05/13 02:43:43 UTC
(ignite-3) branch main updated: IGNITE-25333 Bogus javadoc in WebhookSink. (#5780)
This is an automated email from the ASF dual-hosted git repository.
anovikov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 4f1aa92bad5 IGNITE-25333 Bogus javadoc in WebhookSink. (#5780)
4f1aa92bad5 is described below
commit 4f1aa92bad56caa2ce98f9b88e9aa484773ac3ad
Author: Andrey Novikov <an...@apache.org>
AuthorDate: Tue May 13 09:43:38 2025 +0700
IGNITE-25333 Bogus javadoc in WebhookSink. (#5780)
---
.../eventlog/config/schema/WebhookSinkConfigurationSchema.java | 4 ++--
.../java/org/apache/ignite/internal/eventlog/impl/WebhookSink.java | 4 +++-
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/modules/eventlog/src/main/java/org/apache/ignite/internal/eventlog/config/schema/WebhookSinkConfigurationSchema.java b/modules/eventlog/src/main/java/org/apache/ignite/internal/eventlog/config/schema/WebhookSinkConfigurationSchema.java
index 6c643c187bf..fa0c0de5dbf 100644
--- a/modules/eventlog/src/main/java/org/apache/ignite/internal/eventlog/config/schema/WebhookSinkConfigurationSchema.java
+++ b/modules/eventlog/src/main/java/org/apache/ignite/internal/eventlog/config/schema/WebhookSinkConfigurationSchema.java
@@ -43,13 +43,13 @@ public class WebhookSinkConfigurationSchema extends SinkConfigurationSchema {
/**
* When size of a batch is greater than {@link #batchSize} or its lifetime is greater than the given value batch will be sent
- * to a webhook.
+ * to a webhook, in milliseconds.
*/
@Value(hasDefault = true)
@Range(min = 1)
public long batchSendFrequencyMillis = 10_000;
- /** Maximum batch size for packet with events, in milliseconds. */
+ /** Maximum batch size for packet with events. */
@Value(hasDefault = true)
@Range(min = 1)
public int batchSize = 1_000;
diff --git a/modules/eventlog/src/main/java/org/apache/ignite/internal/eventlog/impl/WebhookSink.java b/modules/eventlog/src/main/java/org/apache/ignite/internal/eventlog/impl/WebhookSink.java
index ec7a8812549..ac02d34bdc8 100644
--- a/modules/eventlog/src/main/java/org/apache/ignite/internal/eventlog/impl/WebhookSink.java
+++ b/modules/eventlog/src/main/java/org/apache/ignite/internal/eventlog/impl/WebhookSink.java
@@ -63,7 +63,9 @@ import org.apache.ignite.lang.ErrorGroups.Common;
import org.apache.ignite.lang.IgniteException;
import org.jetbrains.annotations.TestOnly;
-/** Sink that writes events to the log using any logging framework the user has configured. */
+/**
+ * Sink that sends events to an external web server.
+ */
class WebhookSink implements Sink<WebhookSinkView> {
private static final IgniteLogger LOG = Loggers.forClass(WebhookSink.class);