| Package | Description |
|---|---|
| io.streammachine.driver.client | |
| io.streammachine.driver.domain | |
| io.streammachine.driver.serializer |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<org.eclipse.jetty.client.api.ContentResponse> |
StreamMachineClient.send(io.streammachine.schemas.StreamMachineEvent event,
SerializationType type)
send a StreamMachineEvent.
|
| Constructor and Description |
|---|
StreamMachineEventDTO(io.streammachine.schemas.StreamMachineEvent event,
SerializationType serializationType) |
| Modifier and Type | Method and Description |
|---|---|
static SerializationType |
SerializationType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerializationType[] |
SerializationType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
JsonSerializer.serialize(Object event,
SerializationType serializationType) |
byte[] |
AvroSerializer.serialize(Object event,
SerializationType serializationType)
serialize a GenericRecord or something compatible (like DemoUserV1 in the tests)
|
byte[] |
EventSerializer.serialize(Object event,
SerializationType serializationType) |
Copyright © 2021. All rights reserved.