You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,12 @@
1
+
## v1.3.0 (October 26, 2024)
2
+
3
+
### Changed:
4
+
- The default value of Kafka.SaslMechanism removed from configuration.
5
+
- The default value of Kafka.SecurityProtocol removed from configuration.
6
+
7
+
> [!WARNING]
8
+
> The default values for `Kafka.SaslMechanism` and `Kafka.SecurityProtocol` have been removed. Please ensure to set these values in your configuration to avoid any issues.
@@ -90,7 +92,8 @@ one instance should be the **Master Pod** at a time.
90
92
value).
91
93
92
94
1. The first instance that take the `MasterPodLock` will be the **Master Pod** and will start publishing messages.
93
-
*`MasterPodLock` is a simple redis key. If lock taken, the value of the key is setted as pod name which is getting from Environment value. If Environment doesn't have pod name, GUID is used.
95
+
*`MasterPodLock` is a simple redis key. If lock taken, the value of the key is setted as pod name which is getting
96
+
from Environment value. If Environment doesn't have pod name, GUID is used.
94
97
3. The rest of the instances will be **Follower Pods** and will try to take the `MasterPodLock` every certain amount of
95
98
time.
96
99
4. Also, the **Master Pod** will try to extend the `MasterPodLock` every certain amount of time.
@@ -108,15 +111,21 @@ value).
108
111
The application can be configured using the `config.json` and `secret.json` files. Here are the configurations you can
109
112
set:
110
113
114
+
## Important Notes
115
+
116
+
> [!WARNING]
117
+
> The default values for `Kafka.SaslMechanism` and `Kafka.SecurityProtocol` have been removed in version 1.3.0. Please
118
+
> ensure to set these values in your configuration to avoid any issues.
|`Kafka.SaslUsername`| string | The username for the SASL authentication of the Kafka cluster. |
114
123
|`Kafka.Brokers`| string | The addresses of the Kafka brokers. |
115
124
|`Kafka.SaslPassword`| string | The password for the SASL authentication of the Kafka cluster. |
116
125
|`Kafka.SslCaLocation`| string | The location of the SSL certificate for the Kafka cluster. |
117
126
|`Kafka.SslKeystorePassword`| string | The SSL Keystore Password |
118
-
|`Kafka.SaslMechanism`| string | The SSL Mechanism. **Default: ScramSha512**|
119
-
|`Kafka.SecurityProtocol`| string | The SSL Protocol. **Default: SaslSsl**|
127
+
|`Kafka.SaslMechanism`| string | The SSL Mechanism. |
128
+
|`Kafka.SecurityProtocol`| string | The SSL Protocol. |
120
129
|`Kafka.BatchSize`| string | The Batch Size of the Kafka Publisher. **Default: 512 * 1024**|
121
130
|`Kafka.LingerMs`| string | The Linger of the Kafka Publisher. **Default: 10**|
122
131
|`Kafka.CompressionType`| string | The Compression Type of the Kafka Publisher. **Default: Snappy**|
@@ -143,7 +152,7 @@ set:
143
152
|`DataStoreSettings.ExceededEvents`| string | The name of the exceeded event data store. |
144
153
|`DataStoreSettings.OutboxOffset`| string | The name of the outbox offset data store. Holds the last published `OutboxEvents` Id |
145
154
|`MasterPodSettings.IsActive`| bool | A flag indicating whether the master pod checker is active. Should be active if multiple pods is using. |
146
-
|`MasterPodSettings.CacheName`| string | The name of the distributed lock key. This key should be same for the multiple instances of the app. |
155
+
|`MasterPodSettings.CacheName`| string | The name of the distributed lock key. This key should be same for the multiple instances of the app. |
147
156
|`MasterPodSettings.MasterPodLifetime`| int | The lifetime of the master pod. The TTL of the distributed lock. |
148
157
|`MasterPodSettings.MasterPodRaceInterval`| int | The interval to take `MasterPodLock` for **MasterPod** and **FollowerPods**. |
149
158
|`MasterPodSettings.IsMasterPodCheckInterval`| int | The check interval for the `FollowerPods`. The check without intervals causes high CPU usage; because of that, this is needed. |
@@ -154,15 +163,20 @@ set:
154
163
|`Serilog`| object | The configuration for Serilog. |
155
164
156
165
## EXAMPLE
157
-
In the [examples](https://github.com/Trendyol/PollingOutboxPublisher/tree/master/examples) folder, you'll find example files for `config.json`, `secret.json`, and implementation on how to insert messages for each database type
166
+
167
+
In the [examples](https://github.com/Trendyol/PollingOutboxPublisher/tree/master/examples) folder, you'll find example
168
+
files for `config.json`, `secret.json`, and implementation on how to insert messages for each database type
158
169
159
170
> [!WARNING]
160
-
> For the Couchbase, incremental ID is used for the `OutboxEvents` data store. If you want to use the Couchbase, you should use a Counter for the ID. You can find the example code in the `CouchbaseExample` class.
171
+
> For the Couchbase, incremental ID is used for the `OutboxEvents` data store. If you want to use the Couchbase, you
172
+
> should use a Counter for the ID. You can find the example code in the `CouchbaseExample` class.
161
173
162
174
## LICENSE
175
+
163
176
Released under the [MIT License](https://github.com/Trendyol/PollingOutboxPublisher/blob/master/LICENSE).
164
177
165
178
## CONTRIBUTING
179
+
166
180
See the [CONTRIBUTING](./CONTRIBUTING.md) file for details.
0 commit comments