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

docs: update readme source files #54

Merged
merged 3 commits into from Jan 27, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 7 additions & 13 deletions .readme-partials.yaml
Expand Up @@ -72,20 +72,14 @@ custom_content: |
}
```
about: |
[Google Pub/Sub Lite][product-docs] is designed to provide reliable,
many-to-many, asynchronous messaging between applications. Publisher
applications can send messages to a topic and other applications can
subscribe to that topic to receive the messages. By decoupling senders and
receivers, Google Cloud Pub/Sub allows developers to communicate between
independently written applications. See the
[Google Pub/Sub Lite docs](https://cloud.google.com/pubsub/quickstart-console#before-you-begin)
for more details on how to activate Pub/Sub Lite for your project, as well as
guidance on how to choose between Cloud Pub/Sub and Pub/Sub Lite.
[Google Cloud Pub/Sub Lite][product-docs] is a zonal, real-time messaging
anguillanneuf marked this conversation as resolved.
Show resolved Hide resolved
service that lets you send and receive messages between independent
applications. You can manually configure the throughput and storage capacity
anguillanneuf marked this conversation as resolved.
Show resolved Hide resolved
for Pub/Sub Lite systems.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think systems is redundant

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I inherited this from the product page. Let me bring it up with the TW too. In the meanwhile, this might be okay?

Copy link
Collaborator

Choose a reason for hiding this comment

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

This is fine if its just a copy of documentation from elsewhere.


Compared to Google Pub/Sub, Pub/Sub Lite provides partitioned zonal data
storage with predefined capacity. This means a large portion of the Kafka
Producer/Consumer API can be implemented using Pub/Sub Lite as a backend. The
key differences are:
Because Pub/Sub Lite provides partitioned zonal data storage with
predefined capacity, a large portion of the Kafka Producer/Consumer API can
be implemented using Pub/Sub Lite as a backend. The key differences are:
- Pub/Sub Lite does not support transactions. All transaction methods on
`Producer<byte[], byte[]>` will raise an exception.
- Producers operate on a single topic, and Consumers on a single subscription.
Expand Down
2 changes: 1 addition & 1 deletion .repo-metadata.json
Expand Up @@ -2,7 +2,7 @@
"name": "pubsublite-kafka",
"name_pretty": "Pub/Sub Lite Kafka Shim",
"product_documentation": "https://cloud.google.com/pubsub/lite/docs",
"api_description": "is designed to provide reliable,\nmany-to-many, asynchronous messaging between applications. Publisher\napplications can send messages to a topic and other applications can\nsubscribe to that topic to receive the messages. By decoupling senders and\nreceivers, Google Cloud Pub/Sub allows developers to communicate between\nindependently written applications.\n\nCompared to Google Pub/Sub, Pub/Sub Lite provides partitioned zonal data\nstorage with predefined capacity. Both products present a similar API, but\nPub/Sub Lite has more usage caveats.\n\nSee the [Google Pub/Sub Lite docs](https://cloud.google.com/pubsub/quickstart-console#before-you-begin) for more details on how to activate\nPub/Sub Lite for your project, as well as guidance on how to choose between\nCloud Pub/Sub and Pub/Sub Lite.",
"api_description": "Pub/Sub Lite is a zonal, real-time messaging service that lets you send and receive messages between independent applications. You can manually configure the throughput and storage capacity for Pub/Sub Lite systems.",
"client_documentation": "https://googleapis.dev/java/google-cloud-pubsublite/latest/index.html",
"release_level": "beta",
"transport": "grpc",
Expand Down
4 changes: 4 additions & 0 deletions samples/snippets/pom.xml
Expand Up @@ -40,6 +40,8 @@

<dependencies>
<!-- TODO: switch to libraries-bom after this artifact is included -->
<!-- [START pubsublite-kafka_install_without_bom] -->
<!-- [START pubsublite-kafka_java_dependencies] -->
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>pubsublite-kafka</artifactId>
Expand All @@ -50,6 +52,8 @@
<artifactId>kafka-clients</artifactId>
<version>2.7.0</version>
</dependency>
<!-- [END pubsublite-kafka_java_dependencies] -->
<!-- [END pubsublite-kafka_install_without_bom] -->

<dependency>
<groupId>junit</groupId>
Expand Down