{"id":18451976,"url":"https://github.com/scraly/flume-bigquery-sink","last_synced_at":"2026-04-25T12:36:08.357Z","repository":{"id":84558079,"uuid":"86110617","full_name":"scraly/flume-bigquery-sink","owner":"scraly","description":"An Apache Flume Sink implementation to publish data to Google BigQuery","archived":false,"fork":false,"pushed_at":"2017-03-26T18:45:51.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-20T01:44:38.289Z","etag":null,"topics":["bigquery","flume","sink"],"latest_commit_sha":null,"homepage":null,"language":"Java","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/scraly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-24T21:07:37.000Z","updated_at":"2017-03-25T21:27:13.000Z","dependencies_parsed_at":"2023-03-12T23:37:11.765Z","dependency_job_id":null,"html_url":"https://github.com/scraly/flume-bigquery-sink","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scraly/flume-bigquery-sink","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scraly%2Fflume-bigquery-sink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scraly%2Fflume-bigquery-sink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scraly%2Fflume-bigquery-sink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scraly%2Fflume-bigquery-sink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scraly","download_url":"https://codeload.github.com/scraly/flume-bigquery-sink/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scraly%2Fflume-bigquery-sink/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32262801,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T09:15:33.318Z","status":"ssl_error","status_checked_at":"2026-04-25T09:15:31.997Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bigquery","flume","sink"],"created_at":"2024-11-06T07:29:50.198Z","updated_at":"2026-04-25T12:36:08.337Z","avatar_url":"https://github.com/scraly.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flume-bigquery-sink\r\nAn Apache Flume Sink implementation to publish data to Google BigQuery\r\n\r\n## Configuration of Google BigQuery Sink:\r\n\r\n\u003eEdit log4j.xml\r\n\r\n    \u003cappender name=\"FlumeAppender\" class=\"org.apache.flume.clients.log4jappender.Log4jAppender\"\u003e\r\n       \u003cparam name=\"Hostname\" value=\"localhost\"/\u003e\r\n       \u003cparam name=\"Port\" value=\"8090\"/\u003e\r\n    \u003c/appender\u003e\r\n    ...\r\n    \u003clogger name=\"flume\" additivity=\"false\"\u003e\r\n       \u003clevel value=\"trace\" /\u003e\r\n       \u003cappender-ref ref=\"FlumeAppender\" /\u003e\r\n    \u003c/logger\u003e\r\n\r\n\u003eEdit your flume.conf:\r\n\r\n    #list the sources, sinks and channels for the agent\r\n    agent.sources = \u003cyour_source\u003e\r\n    agent.sinks =  bigquery-sink\r\n    agent.channels = bigquery-channel\r\n \r\n    # properties of \u003cyour_source\u003e\r\n    agent.sources.modv6-source.channels = bigquery-channel\r\n    agent.sources.modv6-source.type = avro\r\n    agent.sources.modv6-source.bind = localhost\r\n    agent.sources.modv6-source.port = 8090\r\n \r\n    # properties of bigquery-channel\r\n    agent.channels.bigquery-channel.type = file\r\n    agent.channels.bigquery-channel.checkpointDir = /data/flume-bq/checkpoint\r\n    agent.channels.bigquery-channel.dataDirs = /data/flume-bq/data\r\n    agent.channels.bigquery-channel.minimumRequiredSpace = 0\r\n \r\n    # properties of bigquery-sink\r\n    agent.sinks.bigquery-sink.channel = \u003cyour_channel\u003e\r\n    agent.sinks.bigquery-sink.type = BigQuerySink\r\n    agent.sinks.bigquery-sink.batchSize = 100\r\n    agent.sinks.bigquery-sink.clientId = \u003cproject_id\u003e.apps.googleusercontent.com\r\n    agent.sinks.bigquery-sink.clientSecret = \u003cyour_client_secret\u003e\r\n    agent.sinks.bigquery-sink.accessToken = \u003cyour_access_token\u003e\r\n    agent.sinks.bigquery-sink.refreshToken = \u003cyour_refresh_token\u003e\r\n    agent.sinks.bigquery-sink.dataStoreDir = /home/\u003cyour_home\u003e/etc/\u003cyour_dir\u003e\r\n    agent.sinks.bigquery-sink.userId = \u003cyour_user_id\u003e\r\n    agent.sinks.bigquery-sink.datasetId = \u003cyour_dataset\u003e\r\n    agent.sinks.bigquery-sink.projectId = \u003cyour_project_id\u003e\r\n    \r\n\u003eEdit BigQueryManager class:\r\n\r\n    private static final String PROJECT_ID = \"112233445566\"; // change with your google cloud projectId\r\n    private static final String DATASET = \"toto\"; //change with your google bigquery dataset\r\n    \r\n\u003eChange LogField and CSVUtil classes in order to tell to the BigQuery sink what is the bq table schema\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscraly%2Fflume-bigquery-sink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscraly%2Fflume-bigquery-sink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscraly%2Fflume-bigquery-sink/lists"}