Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-2581

KinesisClientProvider interface needs to be public

Details

    • Bug
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • 2.0.0
    • 2.2.0
    • io-java-kinesis
    • None

    Description

      Using Beam to read from kinesis stream. KinesisIO provides two overloaded methods - withClientProvider to provide AWS credentials or implement an interface - KinesisClientProvider to pass AWSKinesisClient as described on here

      There's also possibility to start reading using arbitrary point in time - in this case you need to provide Instant object:
       p.apply(KinesisIO.read()
           .from("streamName", instant)
           .withClientProvider(new KinesisClientProvider() {
                              @Override
                              public AmazonKinesis get() {
                                  return null;
                              }
            })
        .apply( ... ) // other transformations
      

      The above code requires org.apache.beam.sdk.io.kinesis.KinesisClientProvider interface to be public.

      Attachments

        Issue Links

          Activity

            People

              chamikara Chamikara Madhusanka Jayalath
              nawaidshamim Nawaid Shamim
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: