Skip to content

Commit 7f98759

Browse files
alltillaHofiOne
authored andcommitted
news: add news entry
Signed-off-by: Attila Szakacs <[email protected]>
1 parent a3c429e commit 7f98759

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

news/feature-5266.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
`google-pubsub-grpc()`: Added a new destination that sends logs to Google Pub/Sub via the gRPC interface.
2+
3+
Example config:
4+
```
5+
google-pubsub-grpc(
6+
project("my_project")
7+
topic($topic)
8+
9+
data($MESSAGE)
10+
attributes(
11+
timestamp => $S_ISODATE,
12+
host => $HOST,
13+
)
14+
15+
workers(4)
16+
batch-timeout(1000) # ms
17+
batch-lines(1000)
18+
);
19+
```
20+
21+
The `project()` and `topic()` options are templatable.
22+
The default service endpoint can be changed with the `service_endpoint()` option.

0 commit comments

Comments
 (0)