MCPcopy Index your code
hub / github.com/HermesGermany/galapagos

github.com/HermesGermany/galapagos @v2.8.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.8.0 ↗ · + Follow
2,520 symbols 8,452 edges 396 files 119 documented · 5%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

galapagos

Galapagos Logo

Galapagos is a DevOps Self-Service Software for Apache Kafka, including an opinionated approach on how to use Kafka for event-driven enterprise architecture.

Fundamentals

See Event-Driven Architecture Principles for our principles for an Enterprise-wide Event-Driven Architecture, and Kafka Guidelines for the guidelines for Kafka usage which result directly from these principles. Galapagos is our tool to "enforce" these Guidelines, while not putting additional burden on DevOps teams.

Demo Setup

The new Demo Setup uses Confluent Cloud, a SaaS solution for Apache Kafka.

You can use an existing subscription if you have one, or create a new subscription during the demo setup. No credit card is required for this subscription; Confluent offers a 60-day trial period, including 400 USD to spend on Kafka usage.

Just clone this repository, and run

./start-demo.sh

to setup and start the Galapagos Demo locally. Afterwards, browse http://localhost:8080/ to access Galapagos. Use user1/user1 for a "normal user" login, or admin1/admin1 for an Administrator login.

Demo setup includes a local Apache Keycloak which will be downloaded and configured.

Windows users: Please install Git for Windows (most likely you already have), and use the included Git Bash to run the start-demo.sh script. We currently do not support Windows cmd or PowerShell, as we really can do more useful stuff in our spare time (but hey, feel free to contribute that!).

A demo for the certificate-based mode of Galapagos (see below) is also available - see Demo Setup. But you should really start with the Confluent Cloud-based demo - extending your configuration for your own local Kafka clusters later is easier once you are familiar with Galapagos.

Status

Currently, Galapagos supports self-hosted Kafka Clusters which must use Client Certificate-based authentication, as well as Confluent Cloud with their API Key + Secret mechanism. Teams can generate API Keys + secrets for their applications via the Galapagos UI (or via REST).

Discussions are now live! Get in touch - let us talk about the fundamentals, the setup, recommendations for others...

Build

To build Galapagos, just run

mvn package

to get a Spring Boot executable JAR.

Run

To run Galapagos locally for a first demo, just use start-demo.sh for startup. This will execute the one-time setup, if required.

In production, you should use one of the Galapagos Docker images available at DockerHub. Recommended is using Kubernetes as execution environment. Configuration can be provided e.g. via ConfigMaps. See Kubernetes Docs for details.

Develop

The Demo Setup (start-demo.sh) also is a good start for local development. Of course, you can just change the code of Galapagos, and then re-run the start-demo.sh script - but that is a little inefficient.

A better approach would be to create at least two "Run Configurations" in your favourite IDE: One for the backend, and one for the frontend.

The backend should be a Spring Boot Application, running the Main class com.hermesworld.ais.galapagos.GalapagosApplication, and having these Spring Profiles active: demo,democonf,actuator.

The frontend should be an Angular Application based on the ui subdirectory - or just run npm run start in the ui subdirectory.

And the downloaded and configured Keycloak can just run all the time - use the helper script start-keycloak.sh for this.

Once you are finished with a cool new feature or a bugfix, see CONTRIBUTING.md for details on how to create Pull Requests.

Migrate

Some new versions of Galapagos require extra migration effort:

Extension points exported contracts — how you extend this code

AdminJob (Interface)
Interface for admin jobs which are run via command line, but require full Spring & Galapagos stack (especially Kafka con [13 …
src/main/java/com/hermesworld/ais/galapagos/adminjobs/AdminJob.java
Change (Interface)
(no doc) [6 implementers]
ui/src/app/shared/services/environments.service.ts
Change (Interface)
Describes a single change, from Galapagos point of view, on a Kafka cluster. A change can either be used in a Chang [8 …
src/main/java/com/hermesworld/ais/galapagos/changes/Change.java
ApplicationNameService (Interface)
(no doc) [2 implementers]
ui/src/app/shared/services/applications.service.ts
KafkaClusterAdminClient (Interface)
Galapagos Interface for abstracting the not-so-helpful Kafka Admin interface. This allows for wrapping and e.g. KafkaFut [8 …
src/main/java/com/hermesworld/ais/galapagos/kafka/KafkaClusterAdminClient.java
Staging (Interface)
(no doc) [1 implementers]
ui/src/app/shared/services/environments.service.ts
InitPerCluster (Interface)
Interface for components which want to "init" something per connected Kafka Cluster on startup. Usually, this means gett [18 …
src/main/java/com/hermesworld/ais/galapagos/kafka/util/InitPerCluster.java
NodeModule (Interface)
(no doc)
ui/src/typings.d.ts

Core symbols most depended-on inside this repo

getId
called by 139
src/main/java/com/hermesworld/ais/galapagos/kafka/KafkaCluster.java
save
called by 126
src/main/java/com/hermesworld/ais/galapagos/kafka/util/TopicBasedRepository.java
equals
called by 117
src/main/java/com/hermesworld/ais/galapagos/changes/impl/ChangeBase.java
noop
called by 111
src/main/java/com/hermesworld/ais/galapagos/util/FutureUtil.java
filter
called by 102
ui/src/app/layout/topics/filter.ts
getName
called by 101
src/main/java/com/hermesworld/ais/galapagos/kafka/TopicConfigEntry.java
add
called by 78
src/main/java/com/hermesworld/ais/galapagos/security/impl/AuditEventRepositoryImpl.java
getEnvironment
called by 74
src/main/java/com/hermesworld/ais/galapagos/kafka/KafkaClusters.java

Shape

Method 1,968
Class 418
Interface 102
Function 18
Enum 14

Languages

Java78%
TypeScript22%

Modules by API surface

src/main/java/com/hermesworld/ais/galapagos/changes/impl/ChangeBase.java115 symbols
src/test/java/com/hermesworld/ais/galapagos/topics/service/impl/TopicServiceImplTest.java43 symbols
ui/src/app/shared/services/topics.service.ts40 symbols
src/main/java/com/hermesworld/ais/galapagos/schemas/SchemaCompatibilityErrorHandler.java35 symbols
src/main/java/com/hermesworld/ais/galapagos/schemas/ConsumerCompatibilityErrorHandler.java34 symbols
src/main/java/com/hermesworld/ais/galapagos/topics/service/impl/TopicServiceImpl.java31 symbols
src/main/java/com/hermesworld/ais/galapagos/devauth/impl/DevUserAclListener.java31 symbols
src/main/java/com/hermesworld/ais/galapagos/events/impl/GalapagosEventManagerImpl.java30 symbols
src/main/java/com/hermesworld/ais/galapagos/applications/impl/UpdateApplicationAclsListener.java29 symbols
ui/src/app/shared/services/applications.service.ts28 symbols
src/test/java/com/hermesworld/ais/galapagos/schema/SchemaCompatibilityValidatorTest.java28 symbols
src/main/java/com/hermesworld/ais/galapagos/staging/impl/StagingImpl.java27 symbols

Datastores touched

(mysql)Database · 1 repos

For agents

$ claude mcp add galapagos \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact