Skip to content

joleksiysurovtsev/GradleDevContainers

Repository files navigation

Gradle Dev Containers Plugin

Description

This Gradle plugin automatically spins up Docker containers for Zookeeper and Kafka. It is perfect for local development, testing, and debugging purposes.

Features

  • Automatic startup of Zookeeper and Kafka containers.
  • Awaits full initialization of Zookeeper before launching Kafka.
  • Dynamically detects the Docker Engine URI based on the operating system.

Installation

  1. Add the plugin code to your Gradle project.
  2. Apply the plugin in your build.gradle file:
apply plugin: 'o.sur.gradledevcontainers'

Usage

To start the containers, execute the following command:

./gradlew RUN_KAFKA

Dependencies

  • Docker must be installed and running on your machine.

Configuration

By default, the plugin will use tcp to connect to the Docker Engine on Windows and unix for other operating systems.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages