Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29198

stream.sh position should support exact offset

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF30, 11.2, 2021.0
    • Component/s: Streams
    • Backlog priority:
      900
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #11, nxplatform #12
    • Story Points:
      2

      Description

      Today we can change the position of a consumer to:

      • the end of the stream
      • after the appended date when using Kafka
      • after a give watermark date when using computation Record
      • to the beginning of the stream

      but sometimes we want to use a known offset (like one reported in an error message).

      Something like:

      ./bin/stream.sh position -k -l audit -g AuditLogWriter -p 0 --to-offset 15
      ... moving consumer group AuditLogWriter to position audit-00:+15
      

      Also, stream.sh position -after-watermark needs to support the -codec option to be able to work with avro record.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours
                6h

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.