Documentation ¶
Index ¶
- type CloudEventsKafkaPayload
- type JSONSerializer
- func (s JSONSerializer) GetFormat() string
- func (s JSONSerializer) GetKeySchemaId() int
- func (s JSONSerializer) GetValueSchemaId() int
- func (s JSONSerializer) SerializeKey(topic string, ev event.Event) ([]byte, error)
- func (s JSONSerializer) SerializeValue(topic string, ev event.Event) ([]byte, error)
- type Serializer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudEventsKafkaPayload ¶
type JSONSerializer ¶
type JSONSerializer struct{}
func NewJSONSerializer ¶
func NewJSONSerializer() JSONSerializer
func (JSONSerializer) GetFormat ¶
func (s JSONSerializer) GetFormat() string
func (JSONSerializer) GetKeySchemaId ¶
func (s JSONSerializer) GetKeySchemaId() int
func (JSONSerializer) GetValueSchemaId ¶
func (s JSONSerializer) GetValueSchemaId() int
func (JSONSerializer) SerializeKey ¶
func (JSONSerializer) SerializeValue ¶
Click to show internal directories.
Click to hide internal directories.