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

Fix name mismatch introduced with #451 #503

Closed
masesdevelopers opened this issue Jul 30, 2024 · 0 comments · Fixed by #505
Closed

Fix name mismatch introduced with #451 #503

masesdevelopers opened this issue Jul 30, 2024 · 0 comments · Fixed by #505
Assignees
Labels
bug Something isn't working JNetPSCore JNetPSCore releated issue

Comments

@masesdevelopers
Copy link
Contributor

masesdevelopers commented Jul 30, 2024

The problem is related to a name mismatch introduced with #451, we don't have introduced yet an automatic test for PowerShell extension.
About your questions:

  • KNetPS mainly is a PowerShell wrapper for Apache Kafka command-line commands, plus can be used to create PowerShell scripts
  • Some information are available in https://knet.masesgroup.com/articles/usagePS.html
  • As stated in KNetPS module Arguments is a string containing the arguments accepted from the Java Main-Class so, in general, you can launch the command (e.g. Start-TopicCommand) and see the help of the command, otherwise you can browse the information available in official Apache Kafka site

Originally posted by @masesdevelopers in masesgroup/KNet#575 (comment)

The class containing the Launch method is JNetCoreBase

public static new void Launch(Type type, params string[] args)

Update this line

_ = typeof(TClass).RunStaticMethodOn(typeof(JNetCore<TClass>), nameof(JNetCore<TClass>.Launch), type, args);

@masesdevelopers masesdevelopers self-assigned this Jul 30, 2024
@masesdevelopers masesdevelopers added bug Something isn't working JNetPSCore JNetPSCore releated issue labels Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working JNetPSCore JNetPSCore releated issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant