-
Notifications
You must be signed in to change notification settings - Fork 15
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 #59 from strawhat5/hazelcast-configurable
Ringbuffer and Exponential retry made user-configurable
- Loading branch information
Showing
7 changed files
with
58 additions
and
26 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 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 |
---|---|---|
@@ -1,2 +1,13 @@ | ||
server: | ||
port: 9000 | ||
|
||
zeebe: | ||
client: | ||
worker: | ||
hazelcast: | ||
connection: "localhost:5701" | ||
connectionTimeout: "PT1M" | ||
ringbuffer: "zeebe" | ||
connectionInitialBackoff: "PT15S" | ||
connectionBackoffMultiplier: 2.0 | ||
connectionMaxBackoff: "PT30S" |
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
15 changes: 15 additions & 0 deletions
15
hazelcast-importer/src/main/kotlin/io/zeebe/zeeqs/importer/hazelcast/HazelcastProperties.kt
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,15 @@ | ||
package io.zeebe.zeeqs.importer.hazelcast | ||
|
||
import org.springframework.boot.context.properties.ConfigurationProperties | ||
import org.springframework.boot.context.properties.ConstructorBinding | ||
|
||
@ConstructorBinding | ||
@ConfigurationProperties("zeebe.client.worker.hazelcast") | ||
data class HazelcastProperties( | ||
val connection: String = "localhost:5701", | ||
val connectionTimeout: String = "PT1M", | ||
val ringbuffer: String = "zeebe", | ||
val connectionInitialBackoff: String = "PT15S", | ||
val connectionBackoffMultiplier: Double = 2.0, | ||
val connectionMaxBackoff: String = "PT30S" | ||
) |
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