Skip to content
This repository has been archived by the owner. It is now read-only.


Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

kafka-service-broker is no longer actively maintained by VMware.


This is a Cloud Foundry service broker for apache kafka. It supports the dynamic creation and deletion of topics, tied to the creation and deletion of Cloud Foundry service instances. Applications can then bind to these service instances to take part in Pub/Sub message exchanges.

This version should be considered a beta product, has been tested against a single zookeeper and a single kafka node. Further testing is currently a work-in-progress.

Where to get the tile

The tile will be available on pivnet in the near future (Fall, 2016). In the meanwhile, if you are interested in using the broker you can build and deploy it manually following the directions below.


This is a service broker implementation and requires a zookeeper and a kafka instance. This is a pre-cursor to a bosh-release and currently has been tested with a single kafka node and a single zookeeper node. The broker is based on the simple-service-broker. Follow the instruction in the README of that project to check-out, mvn build and install the library.

The Modules

The kafka broker project includes the folowing modules. See their respective READMEs for more information.


  • This module contains the broker code.


  • This module contains spring-cloud-connector code that can optionally be used by consumers of the brokered service, to make it easier to connect to the kafka back-end services.


  • A sample project that can be used to demo message consumption, and illustrates the use of the broker-connector.


  • A sample project that can be used to demo message production, and illustrates the use of the broker-connector.

Instructions to run the demo

  1. check out and build the project
git clone
cd kafka-service-broker
mvn clean install  
  1. Follow the instructions in the kafka-broker to push and register the broker.
  2. Create the kafka service and make sure the name of the service matches the names in the manifest.yml files exactly in the producer and consumer apps. If it does not, make sure to change the name in the manifest.yml.
cf create-service KafkaService PubSub kafka-service   
  1. Follow the instructions in the kafka-sample-producer to push the sample producer app.
  2. Follow the instructions in the kafka-sample-consumer to push the sample consumer app.


No description, website, or topics provided.







No releases published


No packages published