Skip to content

Commit b9c6990

Browse files
[MODNOTES-295] Update module descriptor
1 parent 8f5400b commit b9c6990

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ quite do yet.
3939

4040
### Compiling
4141

42-
Compile with
42+
Compile with
4343
```shell
4444
mvn clean install
4545
```
@@ -71,6 +71,10 @@ requires and provides, the permissions, and the additional module metadata.
7171

7272
Use `DB_HOST`, `DB_PORT`, `DB_DATABASE`, `DB_USERNAME`, `DB_PASSWORD` to configure the PostgreSQL database.
7373

74+
Use `KAFKA_HOST` (default `localhost`) and `KAFKA_PORT` (default `9092`) to configure the Kafka broker the module
75+
publishes domain events to. `ENV` (default `folio`) is the environment prefix used when building the tenant-scoped topic
76+
name `{ENV}.{tenant}.notes.note`.
77+
7478
`NOTES_TYPES_DEFAULTS_LIMIT` defaults to 25.
7579

7680
`MAX_RECORDS_COUNT` defaults to 1000.

descriptors/ModuleDescriptor-template.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,18 @@
313313
{
314314
"name": "NOTES_TYPES_DEFAULTS_LIMIT",
315315
"value": "25"
316+
},
317+
{
318+
"name": "KAFKA_HOST",
319+
"value": "kafka"
320+
},
321+
{
322+
"name": "KAFKA_PORT",
323+
"value": "9092"
324+
},
325+
{
326+
"name": "ENV",
327+
"value": "folio"
316328
}
317329
]
318330
}

0 commit comments

Comments
 (0)