Coder Social home page Coder Social logo

clonne101 / kafka Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 23 KB

A self-hosted version of apache/kafka customized for a homelab.

License: GNU General Public License v3.0

Makefile 70.05% Shell 29.95%
alpine-linux apache-kafka clonne docker docker-compose kafka openclonne proxmox-ve

kafka's Introduction

KafKa on Alpine Linux Container

Description

A docker-compose setup for running and managing KafKa (check Installation)

Table of Contents

Installation

Detailed steps to set up the project on your Alpine LXC Container.

  • Create .ashrc under /root with the following content
# Set PATH
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

# Aliases
alias ll='ls -alF'
alias la='ls -A'
alias grep='grep --color=auto'

# Cargo
. "$HOME/.cargo/env"
  • Create .profile under /root with the following content
export ENV=$HOME/.ashrc

  • Clone the repository
# Clone the repository
git clone https://github.com/clonne101/kafka.git kafka-docker

# Navigate to the project directory
cd kafka-docker

# Copy `.env.example` to `.env` under `/root/kafka-docker/docker` by running the
# command below and update the `variables`
cp /root/kafka-docker/docker/.env.example /root/kafka-docker/docker/.env

Usage

Before running any of the commands below, kindly make sure you have completed the above installations for you Alpine Box.

#### Create required data directories - REQUIRED on FIRST-RUN
make create-dirs

#### Start kafka container
make start

#### Stop kafka container
make stop

#### Tail kafka container logs
make logs

#### Show kafka containers
make show

#### Clean kafka containers and volumes
make clean

#### Prints out command list when in doubt
make help

Contributing

Guidelines for contributing to the project.

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature-name).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature/your-feature-name).
  6. Open a pull request.

Submitting Issues

If you encounter any issues, have questions, or would like to suggest an enhancement, please submit an issue through the GitHub repository.

Steps to Submit an Issue

  1. Search for existing issues: Before creating a new issue, please check if the issue has already been reported.
  2. Open a new issue: If no existing issue matches your problem, open a new issue by clicking on the "New Issue" button in the Issues tab.
  3. Describe the issue: Provide a clear and concise description of the issue. Include steps to reproduce the problem, expected behavior, and actual behavior. If applicable, add screenshots or code snippets to illustrate the issue.
  4. Label the issue: Add relevant labels (e.g., bug, enhancement, question) to help categorize the issue.

License

This project is licensed under the GPLv3 License.

Code of Conduct

Please read the Code of Conduct for details.

Contact

Acknowledgments

kafka's People

Contributors

clonne101 avatar

Watchers

 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.