Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

FluentBit output plugin for google pubsub.

License

NotificationsYou must be signed in to change notification settings

gjbae1212/fluent-bit-pubsub

Repository files navigation

licenseGo Report Card

This plugin is used to publish data to queue in google pubsub.

You could easily use it.

Build

A bin directory already has been made binaries for mac, linux.

If you should directly make binaries for mac, linux

# local machine binary$ bash make.sh build# Your machine is mac, and if you should do to retry cross compiling for linux.# A command in below is required a docker.$ bash make.sh build_linux

Usage

configuration options for fluent-bit.conf

KeyDescriptionDefault
Projectgoogle cloud project idNONE(required)
Topicgoogle pubsub topic nameNONE(required)
JwtPathjwt file path for accessible google cloud projectNONE(required)
Debugprint debug logfalse(optional)
Timeoutthe maximum time that the client will attempt to publish a bundle of messages. (millsecond)60000 (optional)
DelayThresholdpublish a non-empty batch after this delay has passed. (millsecond)1
ByteThresholdpublish a batch when its size in bytes reaches this value.1000000
CountThresholdpublish a batch when it has been reached count of messages.100

Example fluent-bit.conf

[Output]    Name pubsub    Match *    Project your-project(custom)    Topic your-topic-name(custom)    Jwtpath your-jwtpath(custom)

Example exec

$ fluent-bit -c [your config file] -e pubsub.so

About

FluentBit output plugin for google pubsub.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp