Skip to content

fnaum/remoting-kafka-plugin

 
 

Repository files navigation

Remoting Kafka Plugin

Build Status Join the chat at https://gitter.im/jenkinsci/remoting

This plugin can be found in Jenkins Plugin.

Plugin

Slides for DevOps World | Jenkins World 2018 presentation available here.

Overview

Current versions of Jenkins Remoting are based on the TCP protocol. If it fails, the agent connection and the build fails as well. There are also issues with traffic prioritization and multi-agent communications, which impact Jenkins stability and scalability.

This project aims an update of Remoting and Jenkins in order to add support of a popular message queue/bus technology (Kafka) as a fault-tolerant communication layer in Jenkins.

More information about this project can be found at: https://jenkins.io/projects/gsoc/2018/remoting-over-message-bus/

Release Notes

See the CHANGELOG.

Developer documentation

How to run demo of the plugin

  1. Requirements: docker, docker-compose installed.

  2. Run export DOCKERHOST=$(ifconfig docker0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}')

  3. Build the demo: make all.

  4. Run the demo: make run (without security feature make run-no-auth).

  5. Features in the demo:

  • Docker Compose starts preconfigured Master and agent instance, they connect automatically using Kafka launcher.
  • Kafka is secured and encrypted with SSL.
  • There few demo jobs in the instance so that a user can launch a job on the agent.
  • Kakfa Manager supported in localhost:9000 to support monitoring of Kafka cluster.
  1. Stop the demo: make clean.

Links

About

Jenkins Remoting over Kafka

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 90.3%
  • Shell 8.2%
  • Dockerfile 1.1%
  • Makefile 0.4%