Skip to content

Commit

Permalink
Merge pull request #12 from telekom/docs/doc-harmonization
Browse files Browse the repository at this point in the history
docs: README corrections
  • Loading branch information
mherwig authored Mar 14, 2024
2 parents 3d97b4c + 0e8839a commit a45a700
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ SPDX-License-Identifier: Apache-2.0
## Overview
Horizon's Starlight provides a REST endpoint allowing event providers to publish events. Its responsibilities include event acceptance, authentication/authorization, schema validation (optional), and publishing to [Horizon's](https://github.com/telekom/pubsub-horizon) underlying message broker (Kafka).

We welcome and appreciate contributions from the developer community. Check our [contributing guide](LINK_TO_CONTRIBUTING_GUIDE.md) to get started!

## Prerequisites
For the optimal setup, ensure you have:

Expand Down Expand Up @@ -74,15 +72,15 @@ Please note that the default helm values configure the kafka compression type `s
So either provide a base image with gcompat installed or change/disable the compression type in the helm values.

```bash
docker build -t horizon-galaxy:latest --build-arg="DOCKER_BASE_IMAGE=<myjvmbaseimage:1.0.0>" .
docker build -t horizon-starlight:latest --build-arg="DOCKER_BASE_IMAGE=<myjvmbaseimage:1.0.0>" .
```

#### Multi-stage Docker build

To simplify things, we have also added a mult-stage Dockerfile to the respository, which also handles the Java build of the application in a build container. The resulting image already contains "gcompat", which is necessary for Kafka compression.

```bash
docker build -t horizon-galaxy:latest . -f Dockerfile.multi-stage
docker build -t horizon-starlight:latest . -f Dockerfile.multi-stage
```

## Running Starlight
Expand Down

0 comments on commit a45a700

Please sign in to comment.