Skip to content

[Typescript] constructor config should be marked as optional #297

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

davidkhala
Copy link

What

In most of example codes, new Kafka() is valid, but since the ts definition mark the config is mandatory, thus most of IDE will warn developer that config param is missing.

Checklist

  • Is customer facing change
  • No behavior changes
  • Did you add sufficient unit test and/or integration test coverage for this PR?
    • No, but if it is required, please let me know how

References

Test & Review

Not yet

Open questions / Follow-ups

constructor config mark as optional properly
@davidkhala davidkhala requested review from a team as code owners April 24, 2025 14:03
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

Successfully merging this pull request may close these issues.

1 participant