-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from synadia-io/sd-fork-integration
JetStream Support
- Loading branch information
Showing
47 changed files
with
1,625 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
set JAVA_HOME=C:\Program Files\Java\jdk-11.0.16.1 | ||
set PATH=C:\Program Files\Java\jdk-11.0.16.1\bin;%PATH% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
io.nats.client.url=nats://localhost:4222 | ||
|
||
source.subjects=source1,source2 | ||
source.payload.deserializer=io.synadia.flink.payload.StringPayloadDeserializer | ||
source.payload.deserializer=io.synadia.flink.v0.payload.StringPayloadDeserializer | ||
|
||
sink.subjects=sink1,sink2 | ||
sink.payload.serializer=io.synadia.flink.payload.StringPayloadSerializer | ||
sink.payload.serializer=io.synadia.flink.v0.payload.StringPayloadSerializer | ||
sink.startup.jitter.min=1 | ||
sink.startup.jitter.max=1000 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// Copyright (c) 2023-2024 Synadia Communications Inc. All Rights Reserved. | ||
// See LICENSE and NOTICE file for details. | ||
|
||
package io.synadia.flink.utils; | ||
|
||
import org.apache.flink.connector.base.source.reader.SourceReaderOptions; | ||
|
||
public interface Constants { | ||
String NATS_PREFIX = "nats."; | ||
String SOURCE_PREFIX = "source."; | ||
String SINK_PREFIX = "sink."; | ||
|
||
String SUBJECTS = "subjects"; | ||
String STARTUP_JITTER_MIN = "startup.jitter.min"; | ||
String STARTUP_JITTER_MAX = "startup.jitter.max"; | ||
String PAYLOAD_DESERIALIZER = "payload.deserializer"; | ||
String PAYLOAD_SERIALIZER = "payload.serializer"; | ||
|
||
String READER_ELEMENT_QUEUE_CAPACITY = "reader.element.queue.capacity"; | ||
int DEFAULT_ELEMENT_QUEUE_CAPACITY = SourceReaderOptions.ELEMENT_QUEUE_CAPACITY.defaultValue(); | ||
|
||
String FETCH_ONE_MESSAGE_TIMEOUT = "fetch.one.timeout"; | ||
long DEFAULT_FETCH_ONE_MESSAGE_TIMEOUT_MS = 1000; | ||
|
||
String MAX_FETCH_RECORDS = "max.fetch.records"; | ||
int DEFAULT_MAX_FETCH_RECORDS = 100; | ||
|
||
String FETCH_TIMEOUT = "fetch.timeout"; | ||
long DEFAULT_FETCH_TIMEOUT_MS = 1000; | ||
|
||
String AUTO_ACK_INTERVAL = "auto.ack.interval"; | ||
long DEFAULT_AUTO_ACK_INTERVAL_MS = 5000; | ||
|
||
String ENABLE_AUTO_ACK = "enable.auto.ack"; | ||
boolean DEFAULT_ENABLE_AUTO_ACK = false; | ||
} |
Oops, something went wrong.