- Deploys infrastructure via Terraform
- two Apache Kafka® services and requisite dependencies
- Creates and configures (access, etc. for) the requisite integration-endpoint, proxy, etc.
- Configures a primary Apache Kafka and then accesses those resources from the secondary endoint via HAProxy
- The queries to the secondary Apache Kafka services Karapace schema registry endpoint via the
test-schema-registry.sh
script are proxied to the primary Apache Kafka services schema registry--the logical flow is shown in below diagram:
- The queries to the secondary Apache Kafka services Karapace schema registry endpoint via the
-
Deploy all requisite infrastructure simply by executing the main
DEPLOY
script./bin/DEPLOY-terraform-infra.sh
- which deploys requisite infrastructure via Terraform, and then runs several dependency scripts:
bin/create-endpoint-and-integration.sh
bin/test-schema-registry.sh
- which deploys requisite infrastructure via Terraform, and then runs several dependency scripts:
-
Once this main wrapper script is executed, all dependency scripts, etc. will be executed as well.
- We can then validate on the "dependent" Kafka service's page in the Console (and in the API responses) will appear the Karapace Schema Registry section with its own URL and credentials. You can now send Karapace Schema Registry requests to the "dependent" Kafka service, they will be
proxied
to the "real/primary/global" Schema Registry URL.
- We can then validate on the "dependent" Kafka service's page in the Console (and in the API responses) will appear the Karapace Schema Registry section with its own URL and credentials. You can now send Karapace Schema Registry requests to the "dependent" Kafka service, they will be
-
The test script
bin/test-schema-registry.sh
is idempotent, and can be expanded/enhanced, and called directly if desired.
./bin/show-all-terraform-infra.sh
Destroy all test terraform infrastructure (Apache Kafka instances, services, etc.) and delete its test integration-endpoint
./bin/DESTROY-terraform-infra.sh
Apache Kafka is either registered trademark or trademark of the Apache Software Foundation in the United States and/or other countries. HAProxy is a trademark and property of their respective owners. All product and service names used in this website are for identification purposes only and do not imply endorsement.