This explains SPK’S support for sending messages to external messaging systems
SPK supports sending messages to configured messaging systems after certain events.
These events are when packages are:
SPK only supports sending messages for events to kafka systems.
To send messages, SPK must be configured for each messaging system it will send to. Multiple backend messaging systems can be specified.
See here for the kafka configuration.
SPK sends messages in json format. They contain these fields and data:
{
"event": "generating event"
"repo": "repository name"
"package": "package/version/build identifier"
}
For example:
{
"event": "package published"
"repo": "origin"
"package": "mypkg/1.2.3/ABCDEF"
}