Giter Site home page Giter Site logo

sample-bolt's Introduction

kafka-python-bolt

Template project for a Kafka stream processing node.

Usage

Clone this project into a directory for your app (your_app).

git clone https://github.com/mfaulk/kafka-python-bolt.git your_app
cd your_app

You will deploy your app by referencing a GitHub repository. Create a new GitHub repository (e.g. https://github.com/user/newrepo.git) for your app, and change the origin of this cloned project:

git remote rm origin
git remote add origin https://github.com/user/newrepo.git
git push -u origin master

The command git remote -v should now show

origin  https://github.com/user/newrepo.git (fetch)
# origin  https://github.com/user/newrepo.git (push)

Edit configure.sh so that APP_NAME is the desired name of your app, and GIT_REPO is the URL of your GitHub repository. Run this script to generate a Fleet unit file for your app named <APP_NAME>.service

./configure.sh

Writing your app

Define your stream processing node by declaring the input stream topics, output stream topics, and execute method in app/bolt.py

Commit and push all changes to GitHub

git add *.service
git commit -am 'Adds generated Fleet unit file'
git push

sample-bolt's People

Contributors

mfaulk avatar

Watchers

 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.