AutoResetOptions

public struct AutoResetOptions: CustomStringConvertible

A struct representing the options actions to take when there is no initial offset in offset store or the desired offset is out of range.

  • The textual representation of the AutoResetOptions.

    Declaration

    Swift

    public let description: String
  • Automatically reset the offset to the smallest offset.

    Declaration

    Swift

    public static let smallest = AutoResetOptions(description: "smallest")
  • Automatically reset the offset to the smallest offset.

    Declaration

    Swift

    public static let earliest = AutoResetOptions(description: "earliest")
  • Automatically reset the offset to the smallest offset.

    Declaration

    Swift

    public static let beginning = AutoResetOptions(description: "beginning")
  • Automatically reset the offset to the largest offset

    Declaration

    Swift

    public static let largest = AutoResetOptions(description: "largest")
  • Automatically reset the offset to the largest offset

    Declaration

    Swift

    public static let latest = AutoResetOptions(description: "latest")
  • end

    Automatically reset the offset to the largest offset

    Declaration

    Swift

    public static let end = AutoResetOptions(description: "end")
  • Trigger an error which is retrieved by consuming message.

    Declaration

    Swift

    public static let error = AutoResetOptions(description: "error")