Giter Site home page Giter Site logo

algorithmiaio / heroku-kafka-demo Goto Github PK

View Code? Open in Web Editor NEW
2.0 4.0 0.0 4.09 MB

To be used part of Heroku's KAFKA 5-parts demo (https://heroku.github.io/kafka-demo/). This is part #6, which adds sentiment analysis to the data pipeline.

JavaScript 100.00%

heroku-kafka-demo's Introduction

Heroku + KAFKA + Algorithmia

This app is one component of the Algorithmia/Kafka demo. Intended to populate the average sentiment for a topic.

Running

Make sure you define the environment variables (through attachment to your Kafka addon):

  • KAFKA_URL: Comma-separated list of Kafka broker URLs
  • KAFKA_CLIENT_CERT: Contents of the Kafka client certificate. This is set on a Heroku app when the Apache Kafka on Heroku add-on is attached.
  • KAFKA_CLIENT_CERT_KEY: Contents of the Kafka client certificate key. This is set on a Heroku app when the Apache Kafka on Heroku add-on is attached.
  • KAFKA_CONSUMER_TOPIC: Kafka topic name from which to consume messages.

Make sure you also have Algorithmia-specific environment variables:

  • ALGORITHMIA_API_KEY: your API key, ideally one that you created only for this project

If you're using a private/on-prem version of Algorithmia (CODEX), you'll want to define another environment variable ALGORITHMIA_API_KEY to point to your private cluster. For most users you will not need to bother about this.

Continue with steps detailed for other components here: https://heroku.github.io/kafka-demo/

heroku-kafka-demo's People

Stargazers

Pandu Ranganth avatar Steven B avatar

Watchers

Ahmad AlNaimi avatar Neil Fairweather avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.