Skip to content

Commit

Permalink
news: add entry for #373
Browse files Browse the repository at this point in the history
Signed-off-by: Attila Szakacs <attila.szakacs@axoflow.com>
  • Loading branch information
alltilla committed Nov 11, 2024
1 parent fd3628b commit 2c49846
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions news/feature-373.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
`google-pubsub-grpc()`: Added a new destination that sends logs to Google Pub/Sub via the gRPC interface.

Example config:
```
google-pubsub-grpc(
project("my_project")
topic($topic)
data($MESSAGE)
attributes(
timestamp => $S_ISODATE,
host => $HOST,
)
workers(4)
batch-timeout(1000) # ms
batch-lines(1000)
);
```

The `project()` and `topic()` options are templatable.
The default service endpoint can be changed with the `service_endpoint()` option.

0 comments on commit 2c49846

Please sign in to comment.