Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DescribeACL is throwing error KafkaJSNonRetriableError: Invalid resource pattern filter type undefined #1728

Open
rahulkallur opened this issue Dec 24, 2024 · 0 comments

Comments

@rahulkallur
Copy link

KafkaJSNonRetriableError: Invalid resource pattern filter type undefined
When i try to describe the ACL, not able to get the details

Resource Pattern: { UNKNOWN: 0, ANY: 1, MATCH: 2, LITERAL: 3, PREFIXED: 4 }
{
principal: 'User:user_95',
permissionType: 3,
operation: 1,
resourcePatternTypeFilter: 4
}

The above details i am passing it correctly, but still i get the issues, and also i checked the package files, in the below line its throwing error:

const validResourceTypes = Object.values(ACL_RESOURCE_TYPES)
if (!validResourceTypes.includes(resourceType)) {
throw new KafkaJSNonRetriableError(Invalid resource type ${resourceType})
}

Environment:

  • OS: [e.g. Mac OS 14.5]
  • KafkaJS version [e.g. 2.2.4]
  • Kafka version [e.g. 3.8.0]
  • NodeJS version [e.g. 16.13.0]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant