Skip to content

Smart publish #52

@Gsantomaggio

Description

@Gsantomaggio

Implement a smart publish, the interface accepts only one message:

func (producer *Producer) Publish(messages message.StreamMessage)

Internally the producer has to:

  • aggregate the messages given batch size
  • send messages given a timeout: 100 milliseconds
  • split the messages in case the frame is to big

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions