{"id":28501941,"url":"https://github.com/fluent/fluent-plugin-flume","last_synced_at":"2025-10-11T09:17:35.333Z","repository":{"id":3177043,"uuid":"4208604","full_name":"fluent/fluent-plugin-flume","owner":"fluent","description":"Flume input and output plugin for Fluentd","archived":false,"fork":false,"pushed_at":"2017-07-06T01:19:30.000Z","size":45,"stargazers_count":24,"open_issues_count":2,"forks_count":13,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-10-09T11:54:35.717Z","etag":null,"topics":["fluentd","fluentd-plugin","flume"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluent.png","metadata":{"files":{"readme":"README.rdoc","changelog":"ChangeLog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-02T23:22:08.000Z","updated_at":"2025-01-04T20:04:44.000Z","dependencies_parsed_at":"2022-09-05T01:00:45.119Z","dependency_job_id":null,"html_url":"https://github.com/fluent/fluent-plugin-flume","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/fluent/fluent-plugin-flume","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluent-plugin-flume","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluent-plugin-flume/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluent-plugin-flume/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluent-plugin-flume/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluent","download_url":"https://codeload.github.com/fluent/fluent-plugin-flume/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluent%2Ffluent-plugin-flume/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006249,"owners_count":26084061,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-plugin","flume"],"created_at":"2025-06-08T16:08:30.442Z","updated_at":"2025-10-11T09:17:35.305Z","avatar_url":"https://github.com/fluent.png","language":"Ruby","readme":"= Flume input/output plugin for Fluentd[http://fluentd.org/]\n\n== Overview\n\nThis is a plugin for fluentd[http://fluentd.org/] data collector.  This plugin adds the Flume[https://github.com/apache/flume] compatible interface to fluentd.\n\n== What's Flume?\n\nFlume[https://github.com/apache/flume] is a distributed, reliable, and available service for efficiently collecting, aggregating, and moving large amounts of log data.\n\nIt uses Thrift[http://thrift.apache.org/], a cross-language RPC framework, to communicate between clients and servers.\n\n== What's Flume plugin for fluent?\n\nThe Flume plugin for fluentd, which enables fluentd to talk the Flume protocol.  Flume protocol is defined as follows, in Thrift-IDL format:\n\n  typedef i64 Timestamp\n  \n  enum Priority {\n    FATAL = 0,\n    ERROR = 1,\n    WARN = 2,\n    INFO = 3,\n    DEBUG = 4,\n    TRACE = 5\n  }\n  \n  enum EventStatus {\n    ACK = 0,\n    COMMITED = 1,\n    ERR = 2\n  }\n  \n  struct ThriftFlumeEvent {\n    1: Timestamp timestamp,\n    2: Priority priority,\n    3: binary body,\n    4: i64 nanos,\n    5: string host,\n    6: map\u003cstring,binary\u003e fields\n  }\n  \n  # Instead of using thrift's serialization, we just assume the contents are serialized already.\n  struct RawEvent {\n    1: binary raw\n  }\n  \n  service ThriftFlumeEventServer {\n    oneway void append( 1:ThriftFlumeEvent evt ),\n    oneway void rawAppend( 1:RawEvent evt),\n    EventStatus ackedAppend( 1: ThriftFlumeEvent evt ),\n    \n    void close(),\n  }\n\nA value that is stored in the ThriftFlumeEvent.fields map is used as fluentd 'tag'.  A key of the value enables be specified by users as configuration parameter.\n\n== How to use?\n\nfluent-plugin-flume contains both input and output.\n\n== Flume Input\n\nPlease add the following configurations to fluent.conf.\n\n  # Flume input\n  \u003csource\u003e\n    type flume\n    port 56789\n  \u003c/source\u003e\n\nThese options are supported.\n\n* port: port number (default: 56789)\n* bind: bind address (default: 0.0.0.0)\n* server_type: server architecture either in 'simple', 'threaded', 'thread_pool', (default: simple)\n* is_framed: use framed protocol or not (default: false)\n* tag_field: key name of fluentd 'tag' that is stored in ThriftFlumeEvent.fields (default: nil)\n* default_tag: default fluentd 'tag' (default: 'category')\n* add_prefix: prefix string, added to the tag (default: nil)\n\nUse flume-ng-fluentd-sink[https://github.com/cosmo0920/flume-ng-fluentd-sink] to send events from flume-ng to fluentd.\n\n== Flume Output\n\nPlease add the following configurations to fluent.conf.  This allows fluentd to output its logs into another Flume server.  Note that fluentd conveys semi-structured data while Flume conveys unstructured data.  Thus the plugin translates semi-structured data into JSON data by default and conveys it to Flume.  The format can be adjusted via formatters.\n\n  # Flume output\n  \u003cmatch *\u003e\n    type flume\n    host flume-host.local\n    port 56789\n  \u003c/match\u003e\n\nThese options are supported.\n\n* host: host name or address (default: localhost)\n* port: port number (default: 35863)\n* timeout: thrift protocol timeout (default: 30)\n* remove_prefix: prefix string, removed from the tag (default: nil)\n* format: The format of the thrift body (default: json)\n* trim_nl: Trim new line from thrift body (default: true)\n\n== Contributors\n\n== Copyright\n\nCopyright:: Copyright (c) 2012 - 2013 Treasure Data, Inc.\nLicense::   Apache License, Version 2.0\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent%2Ffluent-plugin-flume","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluent%2Ffluent-plugin-flume","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluent%2Ffluent-plugin-flume/lists"}