Firehose is a cloud native service for delivering real-time streaming data to destinations such as service endpoints (HTTP or GRPC) & managed databases (Postgres, InfluxDB, Redis, & Elasticsearch). With Firehose, you don't need to write applications or manage resources. It can be scaled up to match the throughput of your data. If your data is present in Kafka, Firehose delivers it to the destination(SINK) that you specified.
Discover why users choose Firehose as their main Kafka Consumer
To know more, follow the detailed documentation
Explore the following resources to get started with Firehose:
Use the docker hub to download firehose docker image. You need to have docker installed in your system.
$ docker pull odpf/firehose
# Run the following docker command for a simple log sink.
$ docker run -e SOURCE_KAFKA_BROKERS=127.0.0.1:6667 -e SOURCE_KAFKA_CONSUMER_GROUP_ID=kafka-consumer-group-id -e SOURCE_KAFKA_TOPIC=sample-topic -e SINK_TYPE=log -e SOURCE_KAFKA_CONSUMER_CONFIG_AUTO_OFFSET_RESET=latest -e PROTO_SCHEMA=com.github.firehose.sampleLogProto.SampleLogMessage odpf/firehose:latest
Note: Make sure your protos (.jar file) are located in work-dir, this is required for Filter functionality to work.
$ git clone https://github.com/odpf/firehose.git # Clone the repo
$ ./gradlew clean build # Build the jar
$ cat env/local.properties # Configure env variables
$ ./gradlew runConsumer # Run the firehose
Note: Sample configuration for other sinks along with some advanced configurations can be found here
# Running unit tests
./gradlew test
# Run code quality checks
./gradlew checkstyleMain checkstyleTest
#Cleaning the build
./gradlew clean
Development of Firehose happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving Firehose.
Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to Firehose.
To help you get your feet wet and get you familiar with our contribution process, we have a list of good first issues that contain bugs which have a relatively limited scope. This is a great place to get started.
This project exists thanks to all the contributors.
Firehose is Apache 2.0 licensed.
Content type
Image
Digest
sha256:4251561b2…
Size
238.6 MB
Last updated
over 3 years ago
docker pull odpf/firehose