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

Best Practices/ Examples of handling sessions #397

Closed
wey-gu opened this issue Dec 7, 2021 · 4 comments
Closed

Best Practices/ Examples of handling sessions #397

wey-gu opened this issue Dec 7, 2021 · 4 comments
Labels
help wanted Extra attention is needed type/enhancement Type: make the code neat or more efficient

Comments

@wey-gu
Copy link
Contributor

wey-gu commented Dec 7, 2021

We could have examples as dev docs/code examples on this.

@wey-gu wey-gu added the help wanted Extra attention is needed label Dec 7, 2021
@riverzzz
Copy link
Contributor

riverzzz commented Dec 7, 2021

i have multi spaces, use session how to manager multi spaces?only have one space example,i want to have some multi spaces examples.

@neblen
Copy link

neblen commented Dec 8, 2021

We could have examples as dev docs/code examples on this.
When using nebula session in spark structured streaming, I use nebulaPool to get session,but it dont’t work. I want some useful example to use nebula session in spark structured streaming. Thank you very much.

@Sophie-Xie Sophie-Xie added the type/enhancement Type: make the code neat or more efficient label Nov 30, 2022
@Nicole00
Copy link
Contributor

Nicole00 commented Dec 29, 2022

When using nebula session in spark structured streaming, I use nebulaPool to get session,but it dont’t work. I want some useful example to use nebula session in spark structured streaming. Thank you very much.

@riverzzz for multi spaces, now you can use SessionPool, define a SessionPool for each space.

@neblen maybe you can refer the streaming process in NebulaGraph Exchange https://github.com/vesoft-inc/nebula-exchange/blob/d78dac5d17aad009d5676c90afa6173b12cee1bc/nebula-exchange_spark_2.4/src/main/scala/com/vesoft/nebula/exchange/processor/VerticesProcessor.scala#L174

@QingZ11
Copy link

QingZ11 commented Jan 29, 2023

We have noticed that the issue you created hasn’t been updated for nearly a month, so we have to close it for now. If you have any new updates, you are welcome to reopen this issue anytime. Thanks a lot for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed type/enhancement Type: make the code neat or more efficient
Projects
None yet
Development

No branches or pull requests

6 participants