Skip to content

Commit

Permalink
Stop promoting k6/experimental/grpc
Browse files Browse the repository at this point in the history
  • Loading branch information
olegbespalov committed Feb 5, 2024
1 parent 59142fa commit 9ff0417
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ weight: 02

# grpc

{{< docs/shared source="k6" lookup="experimental-module.md" version="<K6_VERSION>" >}}
{{< docs/shared source="k6" lookup="experimental-grpc-module.md" version="<K6_VERSION>" >}}

The `k6/experimental/grpc` module is an extension of the [`k6/net/grpc`](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-net-grpc). It provides a [gRPC](https://grpc.io/) client for Remote Procedure Calls (RPC) over HTTP/2.

Expand Down
11 changes: 11 additions & 0 deletions docs/sources/v0.47.x/shared/experimental-grpc-module.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Experimental grpc module admonition
---

{{% admonition type="caution" %}}

Starting on k6 `v0.49`, the experimental module `k6/experimental/grpc` has been graduated, and its functionality is now available in the [`k6/net/grpc` module](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-net-grpc/). The `k6/experimental/grpc` is deprecated and will be removed in `v0.51.0`.

To migrate your scripts, replace all `k6/experimental/grpc` imports with `k6/net/grpc`.

{{% /admonition %}}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ weight: 02

# grpc

{{< docs/shared source="k6" lookup="experimental-module.md" version="<K6_VERSION>" >}}
{{< docs/shared source="k6" lookup="experimental-grpc-module.md" version="<K6_VERSION>" >}}

The `k6/experimental/grpc` module is an extension of the [`k6/net/grpc`](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-net-grpc). It provides a [gRPC](https://grpc.io/) client for Remote Procedure Calls (RPC) over HTTP/2.

Expand Down
11 changes: 11 additions & 0 deletions docs/sources/v0.48.x/shared/experimental-grpc-module.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: Experimental grpc module admonition
---

{{% admonition type="caution" %}}

Starting on k6 `v0.49`, the experimental module `k6/experimental/grpc` has been graduated, and its functionality is now available in the [`k6/net/grpc` module](https://grafana.com/docs/k6/<K6_VERSION>/javascript-api/k6-net-grpc/). The `k6/experimental/grpc` is deprecated and will be removed in `v0.51.0`.

To migrate your scripts, replace all `k6/experimental/grpc` imports with `k6/net/grpc`.

{{% /admonition %}}

0 comments on commit 9ff0417

Please sign in to comment.