event-bus/

directory
v0.0.0-...-a52e8f6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2020 License: Apache-2.0

README

Event Bus

Overview

The Event Bus enables Kyma to integrate with various other external solutions. The integration uses the publish-subscribe messaging pattern that allows Kyma to receive business Events from different solutions, enrich the events, and trigger business flows using lambdas or services defined in Kyma. See the Event Bus documentation.

Docker Images

Currently, Event Bus makes the following three Docker images available to the event-bus Helm chart:

  • event-publish-service
  • subscription-controller
  • nats-streaming-init

There is also end-to-end test Docker image which is used in TestDefinition executed by Octopus.

Development

The two binaries of Event Bus reside under cmd/event-bus-XXXX "e.g. cmd/event-publish-service". They each have a Makefile to build and test the component as well as to create and push a Docker image. The following table explains the various make targets.

Command Description
make This is the default target for building the Docker image. It tests, compiles, creates, and appropriately tags a Docker image.
make build Runs all the tests and the linter. It compiles the binary in the bin directory.
make push-image Pushes the Docker image to the registry specified in the REGISTRY variable of the Makefile.
make build-image Creates a Docker image.
make test Run all the tests.

Directories

Path Synopsis
api
apis
applicationconnector/v1alpha1
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.
eventing/v1alpha1
Package v1alpha1 is v1alpha1 version of the API.
Package v1alpha1 is v1alpha1 version of the API.
client
generated/clientset/internalclientset
This package has the automatically generated clientset.
This package has the automatically generated clientset.
generated/clientset/internalclientset/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
generated/clientset/internalclientset/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
generated/clientset/internalclientset/typed/applicationconnector/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
generated/clientset/internalclientset/typed/applicationconnector/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
generated/clientset/internalclientset/typed/eventing/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
generated/clientset/internalclientset/typed/eventing/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
cmd
internal
test

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL