Skip to content
프로젝트

소개

Kafka 기반의 빠르고 안정적인 메시지 브로커.

생산성 및 자동화

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Note for users 📣

We are reorganizing the project and we disabled the Issues tab. Please use discussions from now on.

Hermes

Build Status Documentation Status Maven Central

Hermes is an asynchronous message broker built on top of Kafka. We provide reliable, fault tolerant REST interface for message publishing and adaptive push mechanisms for message sending.

See our 10-minute getting started guide with Docker: Getting started

Visit our page: hermes.allegro.tech

See our full documentation: http://hermes-pubsub.readthedocs.org/en/latest/

If you have any question or idea regarding the project, please feel free to reach us out using GitHub discussions.

License

hermes is published under Apache License 2.0.

Development

Code formatting

For code formatting we use google-java-format. Following steps are required for optimal dev experience in IJ:

  1. Download google-java-format plugin
  2. Set custom VM options required for IJ plugin
  3. Go to Settings > google-java-format and click Enable google java-format (should be checked by default)
  4. Go to Settings > Tools > Actions on Save and enable Reformat code and Optimize imports for Java files

Each save should automatically trigger reformat.

If you want to debug the CLI check on macOS:

wget https://github.com/google/google-java-format/releases/download/v1.23.0/google-java-format_darwin-arm64
chmod a+x google-java-format_darwin-arm64
chmod a+x .github/scripts/check-google-java-format.sh
./.github/scripts/check-google-java-format.sh                                                                                                                     

or if you are on Linux:

wget https://github.com/google/google-java-format/releases/download/v1.23.0/google-java-format_linux-x86-64
chmod a+x google-java-format_linux-x86-64
chmod a+x .github/scripts/check-google-java-format.sh
./.github/scripts/check-google-java-format.sh        

You can also run the following command to fix formatting for the whole project:

./.github/scripts/check-google-java-format.sh --fix

Running integration tests with Podman (macOS)

Integration and slow integration tests use Testcontainers and require a Docker-compatible runtime. On macOS with Podman, export the following variables before running any test that requires containers:

export DOCKER_HOST="unix://$(podman machine inspect --format '{{.ConnectionInfo.PodmanSocket.Path}}')"
export TESTCONTAINERS_RYUK_DISABLED=true

Then run tests as usual, e.g.:

./gradlew slowIntegrationTest
./gradlew integrationTest

Podman VM resources: slowIntegrationTest spawns many containers concurrently. Configure your Podman VM with at least 8 CPUs and 10 GB of memory or container startup may fail unexpectedly:

podman machine stop
podman machine set --cpus 8 --memory 10240
podman machine start

Test reports

Test reports are available at https://allegro.github.io/hermes/allure, and performance test results can be found at https://allegro.github.io/hermes/performance/.

관련 프로젝트 살펴보기

불러오는 중…