Skip to content

Commit

Permalink
Add store limit and startDate for readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Rabiej committed Oct 11, 2024
1 parent f6a0513 commit cf697c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The following properties need to be set in the `application.properties` file:
- `read.mode`: The mode to use for deserialization (either `proto` or `plaintext`).
- `read.subject`: The subject to read messages from.
- `read.proto.pathToDescriptor`: The path to the protobuf descriptor file (only required if `read.mode` is set to `proto`).
- `read.store.limit`: The maximum number of messages to store in memory.
- `read.store.limit`: The maximum number of messages to store in memory. Default - 10000
- `read.startDate`: Optional date from which to start reading messages.

## Usage
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ read:
pathToDescriptor: "path_to_descriptor"
subject: "*"
store:
limit: 1000
limit: 10000
# startDate: "2020-01-01T00:00:00Z" # format is "yyyy-MM-dd'T'HH:mm:ss'Z'"

server:
Expand Down

0 comments on commit cf697c2

Please sign in to comment.