---
title: Charmhub | Deploy Apache Flume Hdfs using Charmhub - The Open Operator Collection
description: Deploy the latest version of Apache Flume Hdfs on any cloud.
url: https://charmhub.io/apache-flume-hdfs/configurations
---

# Apache Flume Hdfs

[Big Data Charmers](https://charmhub.io/publisher/bigdata-charmers "View all packages from Big Data Charmers")

* [Big Data Charmers](https://charmhub.io/publisher/bigdata-charmers "View all packages from Big Data Charmers")
* [Big Data](https://charmhub.io/?filter=big-data)

Platform:

16.04

14.04

stable 7

```
juju deploy apache-flume-hdfs
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [channel\_capacity](https://charmhub.io/apache-flume-hdfs/configurations#channel_capacity)
* [channel\_transaction\_capacity](https://charmhub.io/apache-flume-hdfs/configurations#channel_transaction_capacity)
* [dfs\_replication](https://charmhub.io/apache-flume-hdfs/configurations#dfs_replication)
* [protocol](https://charmhub.io/apache-flume-hdfs/configurations#protocol)
* [resources\_mirror](https://charmhub.io/apache-flume-hdfs/configurations#resources_mirror)
* [roll\_count](https://charmhub.io/apache-flume-hdfs/configurations#roll_count)
* [roll\_interval](https://charmhub.io/apache-flume-hdfs/configurations#roll_interval)
* [roll\_size](https://charmhub.io/apache-flume-hdfs/configurations#roll_size)
* [sink\_compression](https://charmhub.io/apache-flume-hdfs/configurations#sink_compression)
* [sink\_serializer](https://charmhub.io/apache-flume-hdfs/configurations#sink_serializer)
* [source\_port](https://charmhub.io/apache-flume-hdfs/configurations#source_port)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* channel\_capacity | string

  Default: 1000

  The maximum number of events stored in the channel.
* channel\_transaction\_capacity | string

  Default: 100

  The maximum number of events the channel will take from a source or
  give to a sink per transaction.
* dfs\_replication | int

  Default: 3

  The DFS replication value. The default (3) is the same default as the
  Namenode charm, but it may be overriden for this application.
* protocol | string

  Default: avro

  Ingestion protocol for the agent source. Currently only 'avro' is supported.
* resources\_mirror | string

  URL from which to fetch resources (e.g., Flume binaries) instead of S3
* roll\_count | int

  Number of events written to file before it is rolled. A value of 0 (the
  default) means never roll based on number of events.
* roll\_interval | int

  Default: 300

  Number of seconds to wait before rolling the current file. Default
  will roll the file after 5 minutes. A value of 0 means never roll
  based on a time interval.
* roll\_size | string

  Default: 10000000

  File size to trigger roll, in bytes. Default will roll the file once
  it reaches 10 MB. A value of 0 means never roll based on file size.
* sink\_compression | string

  Compression codec for the agent sink. An empty value will write events
  to HDFS uncompressed. You may specify 'snappy' here to compress written
  events using the snappy codec.
* sink\_serializer | string

  Default: text

  Specify the serializer used when the sink writes to HDFS. Either
  'avro\_event' or 'text' are supported.
* source\_port | int

  Default: 4141

  Port on which the agent source is listening.
