Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Whether to enable to Subscriber service Enabled bool `toml:"enabled"` }
type PointsWriter ¶
type PointsWriter interface {
WritePoints(p *cluster.WritePointsRequest) error
}
type Service ¶
type Service struct { MetaStore interface { Databases() ([]meta.DatabaseInfo, error) WaitForDataChanged() error } NewPointsWriter func(u url.URL) (PointsWriter, error) Logger *log.Logger // contains filtered or unexported fields }
The Subscriber service manages forking the incoming data from InfluxDB to defined third party destinations. Subscriptions are defined per database and retention policy.
func NewService ¶
func (*Service) Points ¶
func (s *Service) Points() chan<- *cluster.WritePointsRequest
Return channel into which write point requests can be sent.
Click to show internal directories.
Click to hide internal directories.