Skip to content

Commit

Permalink
chore(nats sink): Refactor to use StreamSink components (vectordotdev…
Browse files Browse the repository at this point in the history
…#18243)

* Move to stream based sink

Signed-off-by: Stephen Wakely <[email protected]>

* Add request settings

Signed-off-by: Stephen Wakely <[email protected]>

* Updated docs and comments

Signed-off-by: Stephen Wakely <[email protected]>

* Dont need to take metadata

Signed-off-by: Stephen Wakely <[email protected]>

* Clippy

Signed-off-by: Stephen Wakely <[email protected]>

* Made Subject a Template in config

Signed-off-by: Stephen Wakely <[email protected]>

---------

Signed-off-by: Stephen Wakely <[email protected]>
  • Loading branch information
StephenWakely authored Aug 17, 2023
1 parent 7a1c49c commit 294c1dd
Show file tree
Hide file tree
Showing 12 changed files with 1,098 additions and 756 deletions.
4 changes: 0 additions & 4 deletions src/internal_events/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ mod lua;
mod metric_to_log;
#[cfg(feature = "sources-mongodb_metrics")]
mod mongodb_metrics;
#[cfg(feature = "sinks-nats")]
mod nats;
#[cfg(feature = "sources-nginx_metrics")]
mod nginx_metrics;
mod open;
Expand Down Expand Up @@ -224,8 +222,6 @@ pub(crate) use self::loki::*;
pub(crate) use self::lua::*;
#[cfg(feature = "transforms-metric_to_log")]
pub(crate) use self::metric_to_log::*;
#[cfg(feature = "sinks-nats")]
pub(crate) use self::nats::*;
#[cfg(feature = "sources-nginx_metrics")]
pub(crate) use self::nginx_metrics::*;
pub(crate) use self::parser::*;
Expand Down
33 changes: 0 additions & 33 deletions src/internal_events/nats.rs

This file was deleted.

Loading

0 comments on commit 294c1dd

Please sign in to comment.