<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Connecting to AWS MSK in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/connecting-to-aws-msk/m-p/6389#M2544</link>
    <description>&lt;P&gt;Hi @Sudhir Jaiswal​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your question in our community! We are happy to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2023 06:35:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-04-06T06:35:33Z</dc:date>
    <item>
      <title>Connecting to AWS MSK</title>
      <link>https://community.databricks.com/t5/data-engineering/connecting-to-aws-msk/m-p/6387#M2542</link>
      <description>&lt;P&gt;how to connect to the AWS MSK which has I-Am based authentication?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 12:34:23 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/connecting-to-aws-msk/m-p/6387#M2542</guid>
      <dc:creator>Sudhir1</dc:creator>
      <dc:date>2023-04-05T12:34:23Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to AWS MSK</title>
      <link>https://community.databricks.com/t5/data-engineering/connecting-to-aws-msk/m-p/6388#M2543</link>
      <description>&lt;P&gt;@Sudhir Jaiswal​&amp;nbsp;please try to check below stackflow link and download new jar file related to msk iam and attach to cluster that you will using and add read config and provide topic name and other details  and see&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/69772612/kafka-consumer-using-aws-msk-iam-classcastexception-error" target="test_blank"&gt;https://stackoverflow.com/questions/69772612/kafka-consumer-using-aws-msk-iam-classcastexception-error&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 16:05:57 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/connecting-to-aws-msk/m-p/6388#M2543</guid>
      <dc:creator>karthik_p</dc:creator>
      <dc:date>2023-04-05T16:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to AWS MSK</title>
      <link>https://community.databricks.com/t5/data-engineering/connecting-to-aws-msk/m-p/6389#M2544</link>
      <description>&lt;P&gt;Hi @Sudhir Jaiswal​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for posting your question in our community! We are happy to assist you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To help us provide you with the most accurate information, could you please take a moment to review the responses and select the one that best answers your question?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will also help other community members who may have similar questions in the future. Thank you for your participation and let us know if you need any further assistance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 06:35:33 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/connecting-to-aws-msk/m-p/6389#M2544</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-04-06T06:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to AWS MSK</title>
      <link>https://community.databricks.com/t5/data-engineering/connecting-to-aws-msk/m-p/6390#M2545</link>
      <description>&lt;P&gt;&lt;B&gt;@karthik_p&lt;/B&gt;&lt;/P&gt;&lt;P&gt;It seems I made some progress with the approach mentioned. But I get an error:&lt;/P&gt;&lt;P&gt;Caused by: kafkashaded.org.apache.kafka.common.errors.SaslAuthenticationException: [dabd4181-e46b-4d41-8e01-87b4a0ec9f5a]: Access denied&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am wondering what else I am missing!&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 17:10:09 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/connecting-to-aws-msk/m-p/6390#M2545</guid>
      <dc:creator>Sudhir1</dc:creator>
      <dc:date>2023-04-06T17:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to AWS MSK</title>
      <link>https://community.databricks.com/t5/data-engineering/connecting-to-aws-msk/m-p/6391#M2546</link>
      <description>&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've followed the this solution, but got the error like this: SaslAuthenticationException: An error: (java.security.PrivilegedActionException: javax.security.sasl.SaslException: Failed to find AWS IAM Credentials [Caused by aws_msk_iam_auth_shadow.com.amazonaws.SdkClientException: Unable to load AWS credentials from any provider in the chain: [aws_msk_iam_auth_shadow.com.amazonaws.auth.AWSCredentialsProviderChain@62c66486: Unable to load AWS credentials from any provider in the chain: [EnvironmentVariableCredentialsProvider: Unable to load AWS credentials from environment variables (AWS_ACCESS_KEY_ID (or AWS_ACCESS_KEY) and AWS_SECRET_KEY (or AWS_SECRET_ACCESS_KEY)), SystemPropertiesCredentialsProvider: Unable to load AWS credentials from Java system properties (aws.accessKeyId and aws.secretKey), WebIdentityTokenCredentialsProvider: You must specify a value for roleArn and roleSessionName, software.amazon.msk.auth.iam.internals.EnhancedProfileCredentialsProvider@7881f590: Profile file contained no credentials for profile 'default': ProfileFile(profiles=[]), aws_msk_iam_auth_shadow.com.amazonaws.auth.EC2ContainerCredentialsProviderWrapper@362f07a1: The requested metadata is not found at http://169.254.169.254/latest/meta-data/iam/security-credentials/]]]) occurred when evaluating SASL token received from the Kafka Broker. Kafka Client will go to AUTHENTICATION_FAILED state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I've already set up the OS environment with below code:&lt;/P&gt;&lt;P&gt;os.environ['AWS_ACCESS_KEY_ID'] = "AKID"&lt;/P&gt;&lt;P&gt;os.environ['AWS_SECRET_ACCESS_KEY'] = "XXXXXXXXXXXX"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you give me any insights of it? Many thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 03:16:43 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/connecting-to-aws-msk/m-p/6391#M2546</guid>
      <dc:creator>judyy</dc:creator>
      <dc:date>2023-06-14T03:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to AWS MSK</title>
      <link>https://community.databricks.com/t5/data-engineering/connecting-to-aws-msk/m-p/6392#M2547</link>
      <description>&lt;P&gt;I fixed this error by adding 2 environment variables under cluster configuration -&amp;gt; advanced options -&amp;gt; Environment variables:&lt;/P&gt;&lt;P&gt;AWS_SECRET_ACCESS_KEY="XXXXXX"&lt;/P&gt;&lt;P&gt;AWS_ACCESS_KEY_ID="XXXX"&lt;/P&gt;&lt;P&gt;AWS_DEFAULT_REGION="XXXX"​&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 05:13:00 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/connecting-to-aws-msk/m-p/6392#M2547</guid>
      <dc:creator>judyy</dc:creator>
      <dc:date>2023-06-14T05:13:00Z</dc:date>
    </item>
  </channel>
</rss>

