xmidt-event-streams

module
v0.29.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2026 License: Apache-2.0

README

What Does This Library Do?

Accepts a wrp.Message and pipes it to one or more a configured stream(s) based on event type.

This library currently has a built in module for uber fx and prometheus metrics.

Usage

import "github.com/xmidt-org/xmidt-event-streams/filter"
...
msg := &wrp.Message{}
filterManager.Queue(msg)

Uber FX Injection

opts := fx.Options(
  ...
  
  filter.FilterModule,
  ...
)

Configuration

see streams_only.yaml

Directories

Path Synopsis
cmd
eventstream command
SPDX-FileCopyrightText: 2017 Comcast Cable Communications Management, LLC SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: 2017 Comcast Cable Communications Management, LLC SPDX-License-Identifier: Apache-2.0
internal
event
SPDX-FileCopyrightText: 2017 Comcast Cable Communications Management, LLC SPDX-License-Identifier: Apache-2.0
SPDX-FileCopyrightText: 2017 Comcast Cable Communications Management, LLC SPDX-License-Identifier: Apache-2.0
log

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL