You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Adding aws auth specific fields e.g accessKeyId should not throw a typing error.
Observed behavior
Adding aws mechanism auth fields e.g. accessKeyId throws an error.
Type '{ mechanism: "aws"; authorizationIdentity: string; accessKeyId: string; secretAccessKey: string; }' is not assignable to type 'SASLOptions'.
Object literal may only specify known properties, and 'authorizationIdentity' does not exist in type 'SASLOptions'.
Environment:
OS: Mac OS 10.15.7
KafkaJS version: 1.14.0
Kafka version : 2.3.1
NodeJS version: 12.16.3
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
When working with typescript, initializing the Kafka client for aws sasl mechanism throws a typing error.
To Reproduce
REPL : https://repl.it/@r115/BrokenOptimalGoals
Expected behavior
Adding aws auth specific fields e.g
accessKeyId
should not throw a typing error.Observed behavior
Adding aws mechanism auth fields e.g.
accessKeyId
throws an error.Environment:
Mac OS 10.15.7
1.14.0
2.3.1
12.16.3
Additional context
N/A
The text was updated successfully, but these errors were encountered: