kafka quasardb #6

Supports: trusty

Add to new model

Description

Consume Kafka messages and store them in Quasardb


Overview

Consume Kafka messages and store them in Quasardb

Usage

This charm requires Quasardb as well as Kafka, which requires the Zookeeper
distributed coordination service. Deploy and relate these prerequisites as
follows:

juju deploy quasardb-xtp quasardb
juju deploy apache-zookeeper zookeeper
juju deploy apache-kafka kafka
juju add-relation kafka zookeeper

Now add this charm to your environment:

juju deploy kafka-quasardb
juju add-relation kafka kafka-quasardb
juju add-relation quasardb kafka-quasardb

Configuration

The default Kafka topic from which messages are consumed is set to demo. You
may set a different topic with the following:

juju set kafka-quasardb kafka_topic='<topic>'

Starting the service

Once deployment is complete, run the following action to start the consumer
script that stores Kafka messages in Quasardb:

juju action do kafka-quasardb/0 start-consumer

You can verify this action has completed successfully with the following:

juju action fetch <id>  # <-- id from above command

Stopping the service

Run the following to stop the consumer script:

juju action do kafka-quasardb/0 stop-consumer

Verify this action has completed successfully with the following:

juju action fetch <id>  # <-- id from above command

Contact Information

Help


Configuration

kafka_topic
(string) The Kafka topic to publish PubNub events to.
demo
resources_mirror
(string) URL from which to fetch resources (e.g., Hadoop binaries) instead of Launchpad.