event-service/

directory
v0.0.0-...-affaa53 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2019 License: Apache-2.0

README

Event-Service

Overview

This is the repository for the Kyma Event-Service.

Installation

To install the Event-Service, follow these steps:

  1. git clone git@github.com:kyma-project/kyma.git
  2. cd kyma/components/event-service
  3. CGO_ENABLED=0 go build ./cmd/eventservice

Usage

The Event-Service has the following parameters:

  • externalAPIPort - This port exposes the Event-Service API to an external solution. The default port is 8081.
  • eventsTargetURL - A URL to which you proxy the incoming Events. The default URL is http://localhost:9000.
  • maxRequestSize - The maximum publish request body size in bytes. The default is 65536.
  • requestTimeout - A time-out for requests sent through the Event-Service. It is provided in seconds. The default time-out is 1.
  • requestLogging - A flag for logging incoming requests. The default value is false.
  • sourceId - The identifier of the Events' source.
Unit tests

To run the unit tests, use the following command:

go test `go list ./internal/... ./cmd/...`
Contribution

To learn how you can contribute to this project, see the Contributing document.

Jump to

Keyboard shortcuts

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