fluvio icon indicating copy to clipboard operation
fluvio copied to clipboard

Python client async and admin upgrade

Open digikata opened this issue 1 year ago • 9 comments

Map missing fluvio rust crate async and admin interfaces to python.

Details in Fluvio-client-python repo https://github.com/infinyon/fluvio-client-python/issues/367

digikata avatar Feb 09 '24 21:02 digikata

/bounty $750

drc-infinyon avatar Feb 10 '24 19:02 drc-infinyon

💎 $750 bounty created by InfinyOn 🙋 If you start working on this, comment /attempt #3859 along with your implementation plan 👉 To claim this bounty, submit a pull request that includes the text /claim #3859 somewhere in its body 📝 Before proceeding, please make sure you can receive payouts in your country 💵 Payment arrives in your account 2-5 days after the bounty is rewarded 💯 You keep 100% of the bounty award 🙏 Thank you for contributing to infinyon/fluvio!

👉 Add a bountyShare on socials

Attempt Started (GMT+3) Solution
🟢 @neo773 Feb 10, 2024, 10:04:06 PM WIP
🟢 @urbit-pilled Feb 11, 2024, 1:29:50 AM WIP
🟢 @Shylock-Hg Feb 16, 2024, 5:40:29 AM #375

algora-pbc[bot] avatar Feb 10 '24 19:02 algora-pbc[bot]

/attempt #3859

Algora profile Completed bounties Tech Active attempts Options
@neo773 81 bounties from 19 projects
TypeScript, Rust,
JavaScript & more
Cancel attempt

neo773 avatar Feb 10 '24 19:02 neo773

This is related to my work in https://github.com/infinyon/fluvio-client-python/pull/359

/attempt #3859

Algora profile Completed bounties Tech Active attempts Options
@urbit-pilled    1 InfinyOn bounty
+ 1 bounty from 1 project
Scala, Rust,
Python & more
Cancel attempt

urbit-pilled avatar Feb 10 '24 22:02 urbit-pilled

/attempt #3859

Algora profile Completed bounties Tech Active attempts Options
@Shylock-Hg 3 bounties from 2 projects
C++, C,
Shell & more
Cancel attempt

Shylock-Hg avatar Feb 16 '24 02:02 Shylock-Hg

I was trying to implement async without changing the fluvio repo upstream with the Clone modifications, but I think this is a good solution @Shylock-Hg. You can takeover the bounty.

urbit-pilled avatar Feb 16 '24 14:02 urbit-pilled

I was trying to implement async without changing the fluvio repo upstream with the Clone modifications, but I think this is a good solution @Shylock-Hg. You can takeover the bounty.

Thanks for your agreement. I tried it too, but failed. It's really hard to resolve the lifetime of &self in Future, could you share your idea? I'm just curious.

Shylock-Hg avatar Feb 17 '24 02:02 Shylock-Hg

Hi @Shylock-Hg , not sure if this helps, but in the core rust fluvio crate, when you generate an async stream, (e.g. https://docs.rs/fluvio/latest/fluvio/consumer/struct.MultiplePartitionConsumer.html#method.stream) the future delivers a stream that doesn't keep a reference to self of the MultiplePartitionConsumer.

digikata avatar Feb 21 '24 00:02 digikata

Hi @Shylock-Hg , not sure if this helps, but in the core rust fluvio crate, when you generate an async stream, (e.g. https://docs.rs/fluvio/latest/fluvio/consumer/struct.MultiplePartitionConsumer.html#method.stream) the future delivers a stream that doesn't keep a reference to self of the MultiplePartitionConsumer.

Thanks.

Shylock-Hg avatar Feb 21 '24 02:02 Shylock-Hg

Hey @Shylock-Hg are you done with this. Can you claim the bounty if you are please. :)

drc-infinyon avatar Mar 13 '24 16:03 drc-infinyon

@Shylock-Hg - This ticket is resolved.

You need to claim the bounty based on this workflow: https://docs.algora.io/bounties/workflow -

To claim a bounty on Github, navigate to your pull request that solves the bountied issue and add /claim <ISSUE_NUMBER> somewhere in the body of the PR.

drc-infinyon avatar Mar 14 '24 17:03 drc-infinyon

💡 @Shylock-Hg submitted a pull request that claims the bounty. You can visit your bounty board to reward.

algora-pbc[bot] avatar Mar 15 '24 00:03 algora-pbc[bot]

@Shylock-Hg - This ticket is resolved.

You need to claim the bounty based on this workflow: https://docs.algora.io/bounties/workflow -

To claim a bounty on Github, navigate to your pull request that solves the bountied issue and add /claim <ISSUE_NUMBER> somewhere in the body of the PR.

@drc-infinyon Hello, I had claim it in https://github.com/infinyon/fluvio-client-python/pull/375, but it doesn't wok, maybe it's not supported in anther repo. Should I request new dummy PR in this repo? Or as I known, there is a /tip instruction to do it too.

Shylock-Hg avatar Mar 15 '24 01:03 Shylock-Hg

@Shylock-Hg it is fixed now. I am paying the bounty.

drc-infinyon avatar Mar 15 '24 01:03 drc-infinyon

@Shylock-Hg: Your claim has been rewarded! We'll notify you once it is processed.

algora-pbc[bot] avatar Mar 15 '24 01:03 algora-pbc[bot]

🎉🎈 @Shylock-Hg has been awarded $750! 🎈🎊

algora-pbc[bot] avatar Mar 15 '24 01:03 algora-pbc[bot]