-
Notifications
You must be signed in to change notification settings - Fork 5
Conversation
Serverless migration
…minating); although more work needed
… can be kept separate
Hi @jpollock, Thank you for your contribution! We really value the time you've taken to put this together. Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement: |
1 similar comment
Hi @jpollock, Thank you for your contribution! We really value the time you've taken to put this together. Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement: |
Awesome @jpollock ! great to see contributions to the python user language support for Cloudstate. With changes seen like I wonder what the story is about that PR. Shouldn't it be made on the lightbend/lightbend-labs organization instead of here at the Cloudstate repository? This PR transforms a user language support library for cloudstate into a Akka Serverless (AS) SDK compatible with the AS protocol of some of the later beta releases and is incompatible with this project here. I think it would be better to fork/import this repository into one of these organizations instead of transforming it here. The Github UI lets you import an existing repository while keeping the git history. |
@@ -0,0 +1,10 @@ | |||
# Contributors | |||
|
|||
## Special thanks for all the people who had helped this project so far: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for keeping a Contributors list while migrating this to AS.
* **Key-Value storage** | ||
* **P2P messaging** | ||
* **CQRS read side projections** | ||
The Akka Serverless Python user language support is a library that implements the Akka Serverless protocol and offers an pythonistic API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Akka Serverless Python user language support is a library that implements the Akka Serverless protocol and offers an pythonistic API | |
The Akka Serverless Python SDK is a library that implements the Akka Serverless protocol and offers a pythonistic API |
User Language Support Library is old Cloudstate speak I think.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, Akka Serverless is using SDK
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder what the story is about that PR. Shouldn't it be made on the lightbend/lightbend-labs organization instead of here at the Cloudstate repository?
Yes. I expect that's the plan.
* **Key-Value storage** | ||
* **P2P messaging** | ||
* **CQRS read side projections** | ||
The Akka Serverless Python user language support is a library that implements the Akka Serverless protocol and offers an pythonistic API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, Akka Serverless is using SDK
.
For more information see the documentation for [implementing Akka Serverless services in JavaScript](https://developer.lightbend.com/docs/akka-serverless/javascript/). | ||
|
||
|
||
This package is a fork of the original [Python SDK](https://github.com/cloudstateio/python-support) for [Cloudstate](https://cloudstate.io/). This Akka Serverless package is heavily indebted to the [C]loudstate contributors](https://github.com/cloudstateio/python-support/graphs/contributors), especially [Adriano Santos](https://github.com/sleipnir) and [Marcel Lanz](https://github.com/marcellanz). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This package is a fork of the original [Python SDK](https://github.com/cloudstateio/python-support) for [Cloudstate](https://cloudstate.io/). This Akka Serverless package is heavily indebted to the [C]loudstate contributors](https://github.com/cloudstateio/python-support/graphs/contributors), especially [Adriano Santos](https://github.com/sleipnir) and [Marcel Lanz](https://github.com/marcellanz). | |
This package is a fork of the original [Python SDK](https://github.com/cloudstateio/python-support) for [Cloudstate](https://cloudstate.io/). This Akka Serverless package is heavily indebted to the [Cloudstate contributors](https://github.com/cloudstateio/python-support/graphs/contributors), especially [Adriano Santos](https://github.com/sleipnir) and [Marcel Lanz](https://github.com/marcellanz). |
get roadmap - | ||
eng discussion | ||
|
||
moving - |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jpollock, realise this PR is not being merged here, but this looks accidental. The config.3.txt
and config.4,txt
files seem odd here anyway.
license="Apache 2.0", | ||
description="Cloudstate Python Support Library", | ||
description="Akka Serverless Python Support Library", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
description="Akka Serverless Python Support Library", | |
description="Akka Serverless Python SDK", |
@@ -9,9 +9,11 @@ classifiers = | |||
Operating System :: OS Independent | |||
Programming Language :: Python | |||
Programming Language :: Python :: 3.6 | |||
long_description = file: READ.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
long_description = file: READ.md | |
long_description = file: README.md |
project_urls = | ||
Documentation = https://cloudstate.io/docs/user/lang/index.html | ||
Source = https://github.com/cloudstateio/python-support | ||
Documentation = https://akkaserverless.io/docs/user/lang/index.html |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There might be a reason to mix akkaserverless.io (here) and akkaserverless.com (at url) from time to time; or not.
For more information see the documentation for [implementing Akka Serverless services in JavaScript](https://developer.lightbend.com/docs/akka-serverless/javascript/). | ||
|
||
|
||
This package is a fork of the original [Python SDK](https://github.com/cloudstateio/python-support) for [Cloudstate](https://cloudstate.io/). This Akka Serverless package is heavily indebted to the [C]loudstate contributors](https://github.com/cloudstateio/python-support/graphs/contributors), especially [Adriano Santos](https://github.com/sleipnir) and [Marcel Lanz](https://github.com/marcellanz). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This package is a fork of the original [Python SDK](https://github.com/cloudstateio/python-support) for [Cloudstate](https://cloudstate.io/). This Akka Serverless package is heavily indebted to the [C]loudstate contributors](https://github.com/cloudstateio/python-support/graphs/contributors), especially [Adriano Santos](https://github.com/sleipnir) and [Marcel Lanz](https://github.com/marcellanz). | |
This package is a fork of the original [User Language Support for Python](https://github.com/cloudstateio/python-support) for [Cloudstate](https://cloudstate.io/). This Akka Serverless package is heavily indebted to the [C]loudstate contributors](https://github.com/cloudstateio/python-support/graphs/contributors), especially [Adriano Santos](https://github.com/sleipnir) and [Marcel Lanz](https://github.com/marcellanz). |
|
||
def host(self, address: str): | ||
"""Set the address of the network Host. | ||
Default Address is 127.0.0.1. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
def max_workers(self, workers: Optional[int] = multiprocessing.cpu_count()): | ||
"""Set the gRPC Server number of Workers. | ||
Default is equal to the number of CPU Cores in the machine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Serverless there is no machine anymore.
|
||
|
||
def start(self): | ||
"""Start the user function and gRPC Server.""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't you start components
in AS, instead of user functions
?
I completely agree with Marcel. |
Thank you @jpollock for the PR but we do not have a history discussed between LB and the CloudState community that allows them to be literally incorporated into Cloudstate, especially in terms of name and evolution of the protocol. We have an issue that treats under the issue of the evolution of the CloudState protocol but LB responded that at the moment has no interest in evolving with Cloudstate. In these terms we do not have, in my opinion, how to accept this PR fully here. This should be fork it under aegis of LB. |
Sorry! So so sorry!!!! This was my bad. It was late at night and I intended to update my fork of this SDK: https://github.com/jpollock/akkaserverless-python-sdk. I am beyond embarrassed that you spent time on this. I thought that I had checked the open PRs last night to confirm that my mistake was not what I thought it was but then woke this morning to see this comment chain. Ack. Again, my sincerest apologies for the confusion and wasted time. |
@jpollock no worries.
not all was wasted, there are some real comments to be used :) |
@jpollock Also, I knew you at LB have higher standards for a PR. So after reading the PR it came to me that this might be accidental. |
No description provided.