Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-10969

Spark Streaming Kinesis: Allow specifying separate credentials for Kinesis and DynamoDB

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 1.5.1
    • None
    • DStreams
    • None

    Description

      KinesisUtils.createStream() allows specifying only one set of AWS credentials that will be used by Amazon KCL for accessing Kinesis, DynamoDB and CloudWatch.

      Motivation

      In a scenario where one needs to read from a Kinesis Stream owned by a different AWS account the user usually has minimal rights (i.e. only read from the stream). In this case creating the DynamoDB table in KCL will fail.

      Proposal

      My proposed solution would be to allow specifying multiple credentials in KinesisUtils.createStream() for Kinesis, DynamoDB and CloudWatch. The additional credentials could then be passed to the constructor of KinesisClientLibConfiguration or method KinesisClientLibConfiguration.withDynamoDBClientConfig().

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kaklakariada Christoph Pirkl
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: