Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Flexible responses #47

Closed
wants to merge 17 commits into from
Closed

Conversation

jpollock
Copy link

No description provided.

@lightbend-cla-validator

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:

https://www.lightbend.com/contribute/cla

1 similar comment
@lightbend-cla-validator

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:

https://www.lightbend.com/contribute/cla

@marcellanz
Copy link
Contributor

Awesome @jpollock ! great to see contributions to the python user language support for Cloudstate.

With changes seen like
pip install -U akkaserverless

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:
Copy link
Contributor

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
Copy link
Contributor

@marcellanz marcellanz Aug 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

Copy link
Member

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.

Copy link
Member

@pvlugter pvlugter left a 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
Copy link
Member

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).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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).

Comment on lines +25 to +28
get roadmap -
eng discussion

moving -
Copy link
Member

@pvlugter pvlugter Aug 30, 2021

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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Contributor

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).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Contributor

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.
Copy link
Contributor

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."""
Copy link
Contributor

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?

@sleipnir
Copy link

Awesome @jpollock ! great to see contributions to the python user language support for Cloudstate.

With changes seen like
pip install -U akkaserverless

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.

I completely agree with Marcel.
It just shouldn't be here.

@sleipnir
Copy link

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.
This should be a fork of the original and republished under the management of LB repositories.

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.

@jpollock
Copy link
Author

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 jpollock closed this Aug 30, 2021
@marcellanz
Copy link
Contributor

@jpollock no worries.

and wasted time.

not all was wasted, there are some real comments to be used :)

@marcellanz
Copy link
Contributor

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants