Answers for "MSK Event configuration for AWS Lambda"

0

MSK Event configuration for AWS Lambda

Resources:
  ProcessMSKfunction:
    Type: AWS::Serverless::Function 
    Properties:
      CodeUri: code/
      Timeout: 3
      Handler: app.lambdaHandler
      Runtime: nodejs12.x
      Events:
  MSKEvent:
    Type: MSK
    Properties:
      StartingPosition: LATEST
      Stream: arn:aws:kafka:us-east-1:123456789012:cluster/my-cluster/12abcd12-1234-1234-1234-1234abcd1234-1
      Topics:
        - MyTopic
  Policies:
  - AWSLambdaMSKExecutionRole: {}
Posted by: Guest on May-05-2021

Browse Popular Code Answers by Language