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

Kfk.sub #103

Closed
chunaiarun opened this issue Jan 19, 2024 · 6 comments
Closed

Kfk.sub #103

chunaiarun opened this issue Jan 19, 2024 · 6 comments

Comments

@chunaiarun
Copy link

Whether consumer can subscribe at topic level without specifying the partition? If so can you provide me an example

if partition should be always specified always , how should I specify

I was trying to specific subscriptions with callback function
.kfk.Subcribe[client;topic1;iderrleaderreplicasisrs!(0i;`Success;0i;0 1 2i;2 1 0i);callbck] here partition is dictionary. It is not working. Whether as my python code is working at topic level.

help needed

@sshanks-kx
Copy link
Contributor

@chunaiarun
Copy link
Author

Thank you. When I use enlist .kfx.PARTITION_UA
I get return value as UNKNOWN topic or PARTITION

@chunaiarun
Copy link
Author

If partition is 0 1 and 2 , how to specific it in .kfx.subscribe function

@sshanks-kx
Copy link
Contributor

You use assign instead of subscribe if you dont want automatic assignment ,https://github.com/KxSystems/kafka/blob/master/docs/reference.md#assign
Please also ensure using latest release.

@sshanks-kx
Copy link
Contributor

FYI: Ive noticed #105 which may (or may not) be related to what you saw originally.

@chunaiarun
Copy link
Author

Working fine

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

2 participants