GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - francisoliverlee/automq-for-kafka: A cloud native implementation for Apache Kafka

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

11,144 Commits
11,144 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
bin
bin
 
 
checkstyle
checkstyle
 
 
clients
clients
 
 
config
config
 
 
connect
connect
 
 
core
core
 
 
docker
docker
 
 
docs
docs
 
 
examples
examples
 
 
generator/src
generator/src
 
 
gradle
gradle
 
 
group-coordinator
group-coordinator
 
 
jmh-benchmarks
jmh-benchmarks
 
 
licenses
licenses
 
 
log4j-appender/src
log4j-appender/src
 
 
metadata
metadata
 
 
raft
raft
 
 
server-common/src
server-common/src
 
 
shell/src
shell/src
 
 
storage
storage
 
 
streams
streams
 
 
tests
tests
 
 
tools
tools
 
 
trogdor
trogdor
 
 
vagrant
vagrant
 
 
.asf.yaml
.asf.yaml
 
 
.gitignore
.gitignore
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
HEADER
HEADER
 
 
Jenkinsfile
Jenkinsfile
 
 
LICENSE
LICENSE
 
 
LICENSE-binary
LICENSE-binary
 
 
NOTICE
NOTICE
 
 
NOTICE-binary
NOTICE-binary
 
 
PULL_REQUEST_TEMPLATE.md
PULL_REQUEST_TEMPLATE.md
 
 
README.md
README.md
 
 
TROGDOR.md
TROGDOR.md
 
 
Vagrantfile
Vagrantfile
 
 
build.gradle
build.gradle
 
 
doap_Kafka.rdf
doap_Kafka.rdf
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlewAll
gradlewAll
 
 
kafka-merge-pr.py
kafka-merge-pr.py
 
 
release.py
release.py
 
 
release_notes.py
release_notes.py
 
 
retry_zinc
retry_zinc
 
 
settings.gradle
settings.gradle
 
 
wrapper.gradle
wrapper.gradle
 
 

Repository files navigation

AutoMQ for Kafka

The truly serverless Kafka solution that maximizes the benefits of cloud

Docs License

What is AutoMQ for Kafka

AutoMQ for Apache Kafka is redesigned based on cloud infrastructure, and users benefit from elastic computing resources and nearly unlimited cheap storage in the cloud.

It is developed based on Apache Kafka and replace Kafka's local storage with S3 Stream. This design allows Kafka Brokers:

  • Become stateless and could scale up/down in seconds.
  • By making targeted modifications at the LogSegment level and extensively reusing upper-level code, it guarantees 100% functional compatibility.

Compared to Apache Kafka, AutoMQ for Apache Kafka offers the following advantages:

  1. Enhanced Scalability: It leverages cloud-native infrastructure and stateless Kafka Brokers, enabling seamless scaling to meet varying workloads. This elasticity allows for efficient resource allocation and ensures optimal performance even during peak periods.

  2. 10x Cheaper: By utilizing object storage, it could save storage cost up to 90%; By leveraging serverless architecture and spot instance, it can achieve significant cost savings of up to 90% in compute expenses.

  3. Simplified Management: No need to manage disks; It automatically performs second-level partition load balancing across Brokers.

Quick Start

Local Run

Launch cluster

Launch an AutoMQ for Kafka cluster locally using Docker Compose.

This cluster comprises 1 Controller node, 2 Broker nodes, and an additional LocalStack container to simulate S3 services locally.

cd docker
# launch AutoMQ for Kafka cluster
docker compose up -d

Run a console producer and consumer

  1. Create a topic to store your events:
# login to broker1
docker exec -it broker1 bash
# go to kafka directory
cd /opt/kafka/kafka
# create quickstart-events topic
bin/kafka-topics.sh --create --topic quickstart-events --bootstrap-server $(hostname -I | awk '{print $1}'):9092
  1. Run the console producer client to write a few events into your topic. By default, each line you enter will result in a separate event being written to the topic.
bin/kafka-console-producer.sh --topic quickstart-events --bootstrap-server $(hostname -I | awk '{print $1}'):9092

You may input some messages like:

This is my first event
This is my second event
  1. Run the console consumer client to read the events you just created:
# CRTL-C to exit the producer
# run console consumer
bin/kafka-console-consumer.sh --topic quickstart-events --from-beginning --bootstrap-server $(hostname -I | awk '{print $1}'):9092
  1. Clean up the cluster
# exit from the broker1 container
exit
# clean up the cluster
docker compose down -v

Explore more: Second-level partition migration and automatic traffic rebalancing.

AutoMQ Cloud

Sign up for a free trial of AutoMQ Cloud and experience auto scaling with AutoMQ for Kafka.

License

Apache 2.0 license

About

A cloud native implementation for Apache Kafka

www.automq.com/

Resources

Readme
License

Contributing

Contributing
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.