{"id":37028535,"url":"https://github.com/okumin/influent","last_synced_at":"2026-01-14T03:24:39.701Z","repository":{"id":57728186,"uuid":"72862242","full_name":"okumin/influent","owner":"okumin","description":"A Fluentd server running on the JVM","archived":false,"fork":false,"pushed_at":"2019-06-16T13:07:52.000Z","size":307,"stargazers_count":30,"open_issues_count":4,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-13T12:07:10.102Z","etag":null,"topics":["fluentd","java"],"latest_commit_sha":null,"homepage":"","language":"Java","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/okumin.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2016-11-04T15:50:54.000Z","updated_at":"2025-02-06T16:03:06.000Z","dependencies_parsed_at":"2022-09-12T21:00:31.358Z","dependency_job_id":null,"html_url":"https://github.com/okumin/influent","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/okumin/influent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okumin%2Finfluent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okumin%2Finfluent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okumin%2Finfluent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okumin%2Finfluent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okumin","download_url":"https://codeload.github.com/okumin/influent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okumin%2Finfluent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28408834,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T01:52:23.358Z","status":"online","status_checked_at":"2026-01-14T02:00:06.678Z","response_time":107,"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","java"],"created_at":"2026-01-14T03:24:38.966Z","updated_at":"2026-01-14T03:24:39.695Z","avatar_url":"https://github.com/okumin.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Influent\n\n[![Build Status](https://travis-ci.org/okumin/influent.svg?branch=master)](https://travis-ci.org/okumin/influent)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.okumin/influent-java/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.okumin/influent-java)\n[![javadoc](http://javadoc-badge.appspot.com/com.okumin/influent-java.svg)](http://javadoc-badge.appspot.com/com.okumin/influent-java/index.html)\n\nInfluent is a library to implement a Fluentd's forward server on the JVM.\n\n## Protocol\n\n`influent.forward.ForwardServer` is almost compatible with [Forward Protocol Specification v1](https://github.com/fluent/fluentd/wiki/Forward-Protocol-Specification-v1).\n\nThis is the protocol for Fluentd's forward plugin.\n\n* [forward Input Plugin](http://docs.fluentd.org/articles/in_forward)\n* [forward Output Plugin](http://docs.fluentd.org/articles/out_forward)\n\nInfluent is a server implementation, so behaves as like `in_forward`.\n\nThere are some features that Influent does not support now.\nSee also the `TODO` section.\n\n## Advantages over Fluentd\n\nThere are some reasons why Influent is developed.\n\n### Java integration\n\nInfluent enables users to handle Fluentd's events by Java.\nThis means that they can use directly their domain logic written in Java or Java client APIs for some middleware.\n\n### High performance\n\nJVM has high performance and Java has good thread API and IO API.\nInfluent makes it possible to upgrade performance for some applications.\n\n## TODO\n\n* handshake phase implementation\n* CompressedPackedForward mode implementation\n* TLS support\n* load test and performance improvement\n* Scala API\n\n## Usage\n\n### Dependency\n\n#### Maven\n\n```\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.okumin\u003c/groupId\u003e\n    \u003cartifactId\u003einfluent-java\u003c/artifactId\u003e\n    \u003cversion\u003e0.3.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### How to use\n\nGive `ForwardServer` the callback function that receives `EventStream`.\nIf you want to write `EventStreams` to stdout,\n\n```java\n// The callback function\nForwardCallback callback = ForwardCallback.ofSyncConsumer(\n  stream -\u003e System.out.println(stream),\n  Executors.newFixedThreadPool(1)\n);\n\n// Constructs a new server\nint port = 24224;\nForwardServer server = new ForwardServer\n  .Builder(callback)\n  .localAddress(port)\n  .build();\n\n// Starts the server on a new thread\nserver.start();\n\nThread.sleep(60 * 1000);\n\n// ForwardServer#shutdown returns a CompletableFuture\nCompletableFuture\u003cVoid\u003e stopping = server.shutdown();\n// The future will be completed when the server is terminated\nstopping.get();\n```\n\nExecute the above code, and send a message by `fluent-cat` command.\n\n```\n$ echo '{\"foo\": \"bar\", \"scores\": [33, 4]}' | fluent-cat mofu\n```\n\nThe received `EventStream` is written to stdout.\n\n```\nEventStream(Tag(mofu), [EventEntry(2016-11-13T13:10:59Z,{\"foo\":\"bar\",\"scores\":[33,4]})])\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokumin%2Finfluent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokumin%2Finfluent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokumin%2Finfluent/lists"}