SMART COSMOS Event Stream

Message streaming abstraction endpoint for services that do not need to implement clients.

Лицензия

Лицензия

Категории

Категории

Сеть
Группа

Группа

net.smartcosmos
Идентификатор

Идентификатор

smartcosmos-events
Последняя версия

Последняя версия

3.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

SMART COSMOS Event Stream
Message streaming abstraction endpoint for services that do not need to implement clients.
Ссылка на сайт

Ссылка на сайт

http://smartcosmos.net/smartcosmos-events
Организация-разработчик

Организация-разработчик

Smartrac Technology Fletcher, Inc.
Система контроля версий

Система контроля версий

https://github.com/SMARTRACTECHNOLOGY/smartcosmos-events/tree/master/

Скачать smartcosmos-events

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/net.smartcosmos/smartcosmos-events/ -->
<dependency>
    <groupId>net.smartcosmos</groupId>
    <artifactId>smartcosmos-events</artifactId>
    <version>3.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/net.smartcosmos/smartcosmos-events/
implementation 'net.smartcosmos:smartcosmos-events:3.1.0'
// https://jarcasting.com/artifacts/net.smartcosmos/smartcosmos-events/
implementation ("net.smartcosmos:smartcosmos-events:3.1.0")
'net.smartcosmos:smartcosmos-events:jar:3.1.0'
<dependency org="net.smartcosmos" name="smartcosmos-events" rev="3.1.0">
  <artifact name="smartcosmos-events" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.smartcosmos', module='smartcosmos-events', version='3.1.0')
)
libraryDependencies += "net.smartcosmos" % "smartcosmos-events" % "3.1.0"
[net.smartcosmos/smartcosmos-events "3.1.0"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
net.smartcosmos : smartcosmos-framework jar 3.1.0
net.smartcosmos : smartcosmos-framework-messaging jar 3.1.0
net.smartcosmos : smartcosmos-framework-monitoring jar 3.1.0
org.springframework.boot : spring-boot-starter-validation jar

provided (1)

Идентификатор библиотеки Тип Версия
org.projectlombok : lombok jar

test (4)

Идентификатор библиотеки Тип Версия
net.smartcosmos : smartcosmos-framework-test jar 3.1.0
org.springframework.boot : spring-boot-starter-test jar
org.springframework.kafka : spring-kafka-test jar 1.0.0.RC1
com.jayway.restassured : spring-mock-mvc jar

Модули Проекта

Данный проект не имеет модулей.

SMART COSMOS Event Service

Build Status

The SMART COSMOS Objects Event Service is designed to provide an easier entry point for services that do not want to implement the dependencies required to publish messages into a message bus. Moreover, this abstraction enables a greater level of customization for what constitutes the message bus. Lastly, this also provides a non-JAVA entry point for publishing events.

Right now this service takes advantage of consumer subscription groups capable in RabbitMQ enabling a high scalability, fault tolerant mechanism for exchanging events.

Publishing to the Event Bus

Most services are automatically configured with the @EnableSmartCosmos to push events to the service registered as smartcosmos-events in the cluster. As long as this service (or the service designed to replace it) uses that key, then events will be POST to an endpoint at this location. Events that correspond to the following format will be injected into the message bus:

{
  "eventType" : "String", // (1)
  "accountUrn" : "String, Optional", // (2)
  "userUrn" : "String, Optional", // (3)
  "data" : {} // (4)
}
  1. The Event Type, is a String that allows flexibility from developer, although there are several default events featured in DefaultEventTypes

  2. Account that this event is tied to (if applicable)

  3. User that this event is tied to (if applicable)

  4. Actual event data

Watching the Event Bus

Since the messages are sent to rabbitmq, you can watch what is happening with the RabbitMQ Admin GUI

net.smartcosmos

Smart Cosmos Solutions Inc.

Версии библиотеки

Версия
3.1.0
3.0.0