beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chamikara Jayalath (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BEAM-2581) KinesisClientProvider interface needs to be public
Date Thu, 07 Sep 2017 02:41:00 GMT

     [ https://issues.apache.org/jira/browse/BEAM-2581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chamikara Jayalath resolved BEAM-2581.
--------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0

> KinesisClientProvider interface needs to be public
> --------------------------------------------------
>
>                 Key: BEAM-2581
>                 URL: https://issues.apache.org/jira/browse/BEAM-2581
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-extensions
>    Affects Versions: 2.0.0
>            Reporter: Nawaid Shamim
>            Assignee: Chamikara Jayalath
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> 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|https://beam.apache.org/documentation/sdks/javadoc/2.0.0/]
> {code}
> 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
> {code}
> The above code requires org.apache.beam.sdk.io.kinesis.KinesisClientProvider interface
to be public.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message