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: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -152,7 +152,7 @@ Overall we use the [lightbend config](https://github.com/lightbend/config) libra
152
152
The [default configurations](src/main/resources/application.conf) can be overwritten using the following environment variables:
153
153
154
154
-`KSM_READONLY=false`: enables KSM to synchronize from an External ACL source. The default value is `true`, which prevents KSM from altering ACLs in Zookeeper
155
-
-`KSM_EXTRACT=true`: enable extract mode (get all the ACLs from Kafka formatted as a CSV or YAML)
155
+
-`KSM_EXTRACT_ENABLE=true`: enable extract mode (get all the ACLs from Kafka formatted as a CSV or YAML)
156
156
-`KSM_EXTRACT_FORMAT=csv`: selects which format to extract the ACLs with (defaults to csv, supports also yaml)
157
157
-`KSM_REFRESH_FREQUENCY_MS=10000`: how often to check for changes in ACLs in Kafka and in the Source. 10000 ms by default. If it's set to `0` or negative value, for example `-1`, then KMS executes ACL synchronization just once and exits
158
158
-`KSM_NUM_FAILED_REFRESHES_BEFORE_NOTIFICATION=1`: how many times that the refresh of a Source needs to fail (e.g. HTTP timeouts) before a notification is sent. Any value less than or equal to `1` here will notify on every failure to refresh.
@@ -215,7 +215,7 @@ Alternatively, you can get the automatically built Docker images on [Docker Hub]
215
215
Then apply to the docker run using for example (in EXTRACT mode):
216
216
217
217
```
218
-
docker run -it -e AUTHORIZER_ZOOKEEPER_CONNECT="zookeeper-url:2181" -e KSM_EXTRACT=true \
218
+
docker run -it -e AUTHORIZER_ZOOKEEPER_CONNECT="zookeeper-url:2181" -e KSM_EXTRACT_ENABLE=true \
219
219
conduktor/kafka-security-manager:latest
220
220
```
221
221
@@ -234,7 +234,7 @@ For full usage of the docker-compose file see [kafka-security-manager](https://g
234
234
235
235
## Extracting ACLs
236
236
237
-
You can initially extract all your existing ACL in Kafka by running the program with the config `extract=true` or `export KSM_EXTRACT=true`
237
+
You can initially extract all your existing ACL in Kafka by running the program with the config `ksm.extract.enable=true` or `export KSM_EXTRACT_ENABLE=true`
238
238
239
239
Output should look like:
240
240
```
@@ -254,7 +254,7 @@ You can then use place this CSV anywhere and use it as your source of truth.
254
254
255
255
KSM Version | Kafka Version | Notes
256
256
--- | --- | ---
257
-
0.11.0 | 2.5.x | renamed packages to `io.conduktor`
257
+
0.11.0 | 2.5.x | renamed packages to `io.conduktor`. Breaking change on extract config name
258
258
0.10.0 | 2.5.x | YAML support<br>Add configurable num failed refreshes before notification
s"""Since you upgraded to Kafka 2.0, your CSV needs to include an extra column '$PATTERN_TYPE_COL', after $RESOURCE_TYPE_COL and before $RESOURCE_NAME_COL.
58
58
|The CSV header should be: KafkaPrincipal,ResourceType,PatternType,ResourceName,Operation,PermissionType,Host
59
-
|For a quick fix, you can run the application with KSM_EXTRACT=true and replace your current CSV with the output of the command
59
+
|For a quick fix, you can run the application with KSM_EXTRACT_ENABLE=true and replace your current CSV with the output of the command
60
60
|For backwards compatibility, the default value $PATTERN_TYPE_COL=LITERAL has been chosen""".stripMargin
0 commit comments