{"id":21056953,"url":"https://github.com/fluent-plugins-nursery/fluent-plugin-parser-protobuf","last_synced_at":"2025-05-15T23:33:35.543Z","repository":{"id":53952017,"uuid":"267812156","full_name":"fluent-plugins-nursery/fluent-plugin-parser-protobuf","owner":"fluent-plugins-nursery","description":"Fluentd parser plugin for [Protocol Buffers](https://developers.google.com/protocol-buffers/docs/overview).","archived":false,"fork":false,"pushed_at":"2022-08-26T20:19:59.000Z","size":40,"stargazers_count":7,"open_issues_count":1,"forks_count":3,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-24T08:44:58.745Z","etag":null,"topics":["fluentd","fluentd-parser-plugin","fluentd-plugin","protobuf2","protobuf3"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluent-plugins-nursery.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-29T08:56:58.000Z","updated_at":"2024-01-26T14:01:29.000Z","dependencies_parsed_at":"2022-08-13T05:20:10.721Z","dependency_job_id":null,"html_url":"https://github.com/fluent-plugins-nursery/fluent-plugin-parser-protobuf","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-plugins-nursery%2Ffluent-plugin-parser-protobuf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-plugins-nursery%2Ffluent-plugin-parser-protobuf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-plugins-nursery%2Ffluent-plugin-parser-protobuf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent-plugins-nursery%2Ffluent-plugin-parser-protobuf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluent-plugins-nursery","download_url":"https://codeload.github.com/fluent-plugins-nursery/fluent-plugin-parser-protobuf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254442429,"owners_count":22071864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fluentd","fluentd-parser-plugin","fluentd-plugin","protobuf2","protobuf3"],"created_at":"2024-11-19T16:55:15.563Z","updated_at":"2025-05-15T23:33:30.517Z","avatar_url":"https://github.com/fluent-plugins-nursery.png","language":"Ruby","readme":"# fluent-plugin-parser-protobuf\n\n![Testing on Windows](https://github.com/fluent-plugins-nursery/fluent-plugin-parser-protobuf/workflows/Testing%20on%20Windows/badge.svg?branch=master)\n![Testing on macOS](https://github.com/fluent-plugins-nursery/fluent-plugin-parser-protobuf/workflows/Testing%20on%20macOS/badge.svg?branch=master)\n![Testing on Ubuntu](https://github.com/fluent-plugins-nursery/fluent-plugin-parser-protobuf/workflows/Testing%20on%20Ubuntu/badge.svg?branch=master)\n\nFluentd parser plugin for [Protocol Buffers](https://developers.google.com/protocol-buffers/docs/overview).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'fluent-plugin-parser-protobuf'\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install fluent-plugin-parser-protobuf\n\n## Prerequisites to use\n\nUsers should prepare protocol buffers with the following compilers:\n\n* For Protocol Buffers 2, using [ruby-protoc compiler](https://github.com/codekitchen/ruby-protocol-buffers) is needed.\n* For Protocol Buffers 3, using [the official protoc compiler](https://developers.google.com/protocol-buffers/docs/reference/ruby-generated) is needed.\n\n## Configuration\n\n**Note:** Protocol Buffer v2 files use `.pb.rb` extensions whereas Protocol Buffer v3 files use `_pb.rb` in their filename endings. Please be careful which version is used in your protobuf definitions.\n\n### For Protobuf 3\n\n```aconf\n\u003cparse\u003e\n  @type protobuf\n  class_file /path/to/your/protobuf/class_file_pb.rb\n  class_name Your.Protobuf.Class.Name # For protobuf3\n  protobuf_version protobuf3\n  # suppress_decoding_error false\n  # include_paths [/path/to/your/protobuf/class_file_pb.rb, /path/to/your/protobuf/class_file2_pb.rb, ...]\n\u003c/parse\u003e\n```\n\n**Note:** Protobuf version 3 requires to use dot for nested class name seperator:\n\n`Your::Protobuf::Class::Name` class should be in class_name as follows:\n```\nclass_name Your.Protobuf.Class.Name\n```\n\n### For Protobuf 2\n\n```aconf\n\u003cparse\u003e\n  @type protobuf\n  class_file /path/to/your/protobuf/class_file.pb.rb\n  class_name Your::Protobuf::Class::Name # For protobuf2\n  protobuf_version protobuf2\n  # suppress_decoding_error false\n  # include_paths [/path/to/your/protobuf/class_file.pb.rb, /path/to/your/protobuf/class_file2.pb.rb, ...]\n\u003c/parse\u003e\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/fluent-plugins-nursery/fluent-plugin-parser-protobuf.\n\n## Articles\n\n* FluentdのInputプラグインでProtocol Buffersを扱う -- ククログ https://www.clear-code.com/blog/2020/6/4.html (ja)\n\n## LICENSE\n\n[Apache-2.0](LICENSE).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-plugins-nursery%2Ffluent-plugin-parser-protobuf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluent-plugins-nursery%2Ffluent-plugin-parser-protobuf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent-plugins-nursery%2Ffluent-plugin-parser-protobuf/lists"}