没有合适的资源?快使用搜索试试~ 我知道了~
文库首页 前端Typescriptnode-kafka-alerts:易于部署(Docker),可扩展(干净的体系结构),基于模板的即插即用微服务。 消息的实时(Kafka)和批处理(使用数据库),使开发人员可以使用第三方工具(如twiliosendgrid)发送通知。 使用事件源和CQRS中的概念
node-kafka-alerts:易于部署(Docker),可扩展(干净的体系结构),基于模板的即插即用微服务。 消息的实时(...
共112个文件
ts:82个
json:9个
sh:4个
需积分: 9 1 下载量 35 浏览量
2021-05-02
09:47:12
上传
评论
收藏 145KB ZIP 举报
温馨提示
节点卡夫卡警报 每次需要发送警报/通知时都厌倦了编写代码吗? 然后,该存储库将为您量身定做。 我赋予了这个存储库以生命,因为我们通常需要将事件通知我们的应用程序用户。 例如,这可以是用户在某个事件发生后(无论是他本人还是其他来源)应该收到的电子邮件或SMS。 该应用程序支持即时通知(直接发送给最终用户)和两种类型的窗口警报/通知。 第一个是我们应收到的每个警报/通知都一次通知最终用户,但会动态丢弃给定窗口的重复值。 第二个是将上次时间窗口中发送的所有通知分组,并使用批处理模板将其全部显示给最终用户。 模板应已由部署应用程序的开发人员安装到位,并且应位于templates文件夹中。 安装 发展 npm install cp .env.example .env 将.env值更改为正确的值。 还要检查config/default.json文件,以根据自己的喜好更改配置值。 生产 cp
资源推荐
资源详情
资源评论
收起资源包目录
node-kafka-alerts:易于部署(Docker),可扩展(干净的体系结构),基于模板的即插即用微服务。 消息的实时(Kafka)和批处理(使用数据库),使开发人员可以使用第三方工具(如twiliosendgrid)发送通知。 使用事件源和CQRS中的概念 (112个子文件)
Dockerfile.dev 134B
Dockerfile 516B
.dockerignore 35B
.editorconfig 211B
.eslintignore 172B
.env.example 530B
.gitignore 24B
threshold.hbs 611B
template-example.hbs 38B
.eslintrc.js 1015B
package-lock.json 312KB
package.json 2KB
launch.json 515B
tsconfig.json 493B
connect-payload.json 414B
processes.json 398B
default.json 296B
nodemon.json 107B
.prettierrc.json 26B
makefile 84B
README.md 2KB
.prettierignore 19B
send-windowed-email.sh 579B
send-email.sh 436B
send-user.sh 237B
reset-offsets.sh 230B
initdb.sql 2KB
knex-client.ts 10KB
index.ts 9KB
kafkajs-consumer.ts 5KB
send-windowed-notifications.use-case.ts 3KB
send-instant-notification.command-handler.ts 2KB
types.ts 2KB
notification-repository.ts 2KB
config-builder.ts 2KB
send-email.use-case.ts 2KB
store-windowed-notification.use-case.ts 2KB
config-composer.ts 2KB
grouped-notification-mapper.ts 2KB
express-server.ts 1KB
store-windowed-notification.command-handler.ts 1KB
command-bus.ts 1KB
notification-mapper.ts 1KB
time-window-repository.ts 1KB
cron.ts 1KB
user-repository.ts 1006B
send-windowed-notifications.command-handler.ts 884B
sendgrid-client.ts 882B
save-user.command-handler.ts 856B
dotenv.ts 813B
save-user.use-case.ts 806B
pino.ts 801B
mock-sendgrid-client.ts 691B
send-email-payload.ts 682B
user-mapper.ts 673B
config.ts 636B
time-window-mapper.ts 578B
notification.ts 527B
command-handler.decorator.ts 486B
notification-dao.interface.ts 458B
handlebars-compiler.ts 414B
fs-async.ts 409B
retryable-error.decorator.ts 387B
skippable-error.decorator.ts 387B
use-case.decorator.ts 380B
unique-instant-aggregate-uuid-version-error.ts 353B
unique-time-window-notification-error.ts 348B
unique-aggregate-uuid-version-error.ts 346B
store-windowed-notification-payload.ts 328B
notification-message-content-base-command.ts 305B
notification-row.ts 293B
store-windowed-notification-command.ts 292B
send-instant-notification-command.ts 290B
notification-message-content.ts 285B
notification-creator.interface.ts 245B
save-user-command.ts 226B
grouped-notification-row.ts 221B
command-handler.constants.ts 208B
dal-mapper.interface.ts 185B
use-case.constants.ts 185B
time-window-dao.interface.ts 182B
email-sender.interface.ts 179B
file-reader.interface.ts 176B
user.ts 171B
user-dao.interface.ts 168B
error.constants.ts 164B
notification-fetcher.interface.ts 159B
time-window-fetcher.interface.ts 143B
send-windowed-notifications-command.ts 138B
save-user-payload.ts 138B
notification-status.ts 131B
logger.interface.ts 125B
user-fetcher.interface.ts 124B
any-class-type.ts 119B
config-template.ts 118B
notification-mutator.interface.ts 117B
user-saver.interface.ts 115B
template-compiler.interface.ts 112B
cron-execer.ts 106B
command-marker.interface.ts 102B
共 112 条
- 1
- 2
资源评论
铭哲友野
- 粉丝: 29
- 资源: 4534
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功