Skip to content

support humantime_serde in flush-period field #4274

@fraidev

Description

@fraidev

It would be nice flush-period field of consumer offset config also support humantime_serde.

now:

apiVersion: 0.2.0
meta:
  consumer:
    partition: all
    id: $CONNECTOR_NAME
    offset:
      strategy: auto
      start: beginning
      flush-period:
        secs: 10
        nanos: 0

expected:

apiVersion: 0.2.0
meta:
  consumer:
    partition: all
    id: $CONNECTOR_NAME
    offset:
      strategy: auto
      start: beginning
      flush-period: 10s

Metadata

Metadata

Assignees

No one assigned

    Labels

    no-staleOpt-out of closing issue due to no activity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions