【文件属性】:
文件名称:akka-streams-kafka-examples
文件大小:10KB
文件格式:ZIP
更新时间:2021-03-28 01:07:08
k8s-template的示例应用
公开API端点:
curl http://localhost:8080/api/hello/john
记录INFO和ERROR日志。 名称为adam时出现错误,对于其他所有请求的INFOs:
curl http://localhost:8080/api/hello/adam
公开指标,JVM +自定义请求计数:
curl http://localhost:8080/metrics
公开状态端点,该端点返回200/503:
curl http://localhost:8080/status
curl -X POST http://localhost:8080/api/kill
作为sbt docker:publish镜像(使用sbt docker:publish )构建为 。
【文件预览】:
akka-streams-kafka-examples-master
----project()
--------build.properties(18B)
--------plugins.sbt(150B)
----core()
--------src()
----LICENSE(11KB)
----build.sbt(1KB)
----version.sbt(30B)
----README.md(643B)
----.gitignore(125B)
----.scalafmt.conf(36B)