pulsar-provisioner

所属分类:中间件编程
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2022-03-24 14:20:39
上 传 者sh-1993
说明:  脉冲星供应器,,
(pulsar-provisioner,,)

文件列表:
.ko.yaml (40, 2022-03-24)
LICENSE (1266, 2022-03-24)
Makefile (699, 2022-03-24)
NOTICE (406, 2022-03-24)
VERSION (14, 2022-03-24)
cmd/ (0, 2022-03-24)
cmd/provisioner/ (0, 2022-03-24)
cmd/provisioner/main.go (2701, 2022-03-24)
go.mod (58, 2022-03-24)
go.sum (0, 2022-03-24)

# pulsar-provisioner The Pulsar Provisioner component is responsible for assigning topics in a [Pulsar](https://pulsar.apache.org/) cluster when asked to do so by the [riff system](https://github.com/projectriff/system). For a given riff `stream` "foo" existing in namespace "my-ns", a PUT request will be made to this component at `/my-ns/foo`. It will react by assigning a persistent topic named `persistent://$TENANT/$NAMESPACE/my-ns_foo` in Pulsar (see below for configuration of `$TENANT` and `$NAMESPACE`, Pulsar namespaces are distinct from Kubernetes namespaces). Note that because topics are created on demand in Pulsar, and because this provisioner does not yet support advanced topic configuration options, it does not _actually_ create the topic. It merely returns its coordinates. Upon success, it will return its [liiklus](https://github.com/bsideup/liiklus) coordinates in the following json form: ```json { "gateway": ":", "topic": "" } ``` ## Configuration The provisioner should run with the following environment variables configured: * `TENANT`: the Pulsar [tenant](https://pulsar.apache.org/docs/en/concepts-multi-tenancy/#tenants) to provision topics in * `NAMESPACE`: the Pulsar [namespace](https://pulsar.apache.org/docs/en/concepts-multi-tenancy/#namespaces) to provision topics in * `BROKER`: the address of a Pulsar cluster to connect to, in the form `pulsar://host:port` (Currently unused) * `GATEWAY`: the address of a liiklus gRPC endpoint. Will be used as part of the returned coordinates (see above).

近期下载者

相关文件


收藏者