Skip to content

Commit c9b2dd3

Browse files
committed
adapters: kafka: support AWS MSK IAM SASL
Uses the `OAUTHBEARER` `sasl.mechanism` to support IAM based authentication and SASL / SSL. There are some todos like inserting timeouts while trying to get the bearer token, unsure what a good timeout period would be. Before fetching the metadata, it is important to call `poll` to set the bearer token, this is currently done in a hacky way outside the `count_partitions_in_topic` method. This should be improved. Also, the code to fetch the bearer token across different contexts is repeated and identical. We should extract this out in one place. More importantly, it might cause a regression in end to end performance with Kafka. ``` "sasl.mechanism": "OAUTHBEARER", "security.protocol": "SASL_SSL", ``` Signed-off-by: Abhinav Gyawali <22275402+abhizer@users.noreply.github.com>
1 parent a6443b2 commit c9b2dd3

9 files changed

Lines changed: 393 additions & 76 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ lcov.info
3232
.DS_Store
3333
sql-to-dbsp-compiler/SQL-compiler/pom.xml-E
3434

35+
crates/dbsp-enterprise
36+
3537
**/benches/galen_data/
3638
**/benches/gdelt-data/
3739
**/benches/ldbc-graphalytics-data/

0 commit comments

Comments
 (0)