Skip to content

Commit

Permalink
Maxlen support (#25)
Browse files Browse the repository at this point in the history
* xadd-maxlen-support (#22)

Co-authored-by: Zach Sherbondy <[email protected]>

* Added reference to example apps for MAXLEN.

* Upgraded Deps.

* V1.3.0

---------

Co-authored-by: Zach <[email protected]>
Co-authored-by: Zach Sherbondy <[email protected]>
  • Loading branch information
3 people authored Sep 13, 2024
1 parent 45d1873 commit d05fd00
Show file tree
Hide file tree
Showing 9 changed files with 217 additions and 197 deletions.
126 changes: 60 additions & 66 deletions examples/client-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion examples/client-app/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ import { ConfigModule, ConfigService } from '@nestjs/config';
class ClassOptions {
createRedisStreamClientModuleOptions(): ClientConstructorOptions {
return {
streams: { consumer: 'api-1', block: 5000, consumerGroup: 'api' },
streams: {
consumer: 'api-1',
block: 5000,
consumerGroup: 'api',
// maxLen: 100,
},
connection: { url: '0.0.0.0:6379' },
responseStreams: ['users:created', 'users:created:copy'],
};
Expand Down
Loading

0 comments on commit d05fd00

Please sign in to comment.