From 8bc86f37331b5bf0fb1bcb34814e685b33706bbd Mon Sep 17 00:00:00 2001 From: Enrico Olivelli Date: Tue, 20 Jul 2021 14:45:41 +0200 Subject: [PATCH 1/3] Issue 11338: add documentation about the upgrade of Pulsar 2.8.0 --- site2/website/release-notes.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/site2/website/release-notes.md b/site2/website/release-notes.md index cd548f42b9276..1ffa05b9f51dc 100644 --- a/site2/website/release-notes.md +++ b/site2/website/release-notes.md @@ -3,6 +3,15 @@ ### 2.8.0 — 2021-06-12 +### Update notice + +Due to a breaking change in the Schema API it may happen that some Pulsar Functions or Pulsar IO Connector fail to work, +throwing an `IncompatibleClassChangeError`. +In this case you have to rebuild your Function using Apache Pulsar 2.8.0 as dependency and redeploy it. +If you are running on Kubernetes you can temporarily let the Functions Worker pod run with a previous version of Pulsar +in order to not cause downtime. +More context in [this issue](https://github.com/apache/pulsar/issues/11338). + #### PIPs - [PIP 45] Pluggable metadata interface [#9148](https://github.com/apache/pulsar/pull/9148) [#9221](https://github.com/apache/pulsar/pull/9221) [#9240](https://github.com/apache/pulsar/pull/9240) [#9273](https://github.com/apache/pulsar/pull/9273) [#9274](https://github.com/apache/pulsar/pull/9274) [#9338](https://github.com/apache/pulsar/pull/9338) [#9346](https://github.com/apache/pulsar/pull/9346) [#9351](https://github.com/apache/pulsar/pull/9351) [#9412](https://github.com/apache/pulsar/pull/9412) [#9485](https://github.com/apache/pulsar/pull/9485) [#9586](https://github.com/apache/pulsar/pull/9586) [#9967](https://github.com/apache/pulsar/pull/9967) [#9973](https://github.com/apache/pulsar/pull/9973) [#10391](https://github.com/apache/pulsar/pull/10391) [#10457](https://github.com/apache/pulsar/pull/10457) [#10532](https://github.com/apache/pulsar/pull/10532) [#10545](https://github.com/apache/pulsar/pull/10545) [#10647](https://github.com/apache/pulsar/pull/10647) - [PIP 50] Package management service [#8637](https://github.com/apache/pulsar/pull/8637) [#8680](https://github.com/apache/pulsar/pull/8680) [#8744](https://github.com/apache/pulsar/pull/8744) [#8764](https://github.com/apache/pulsar/pull/8764) [#8816](https://github.com/apache/pulsar/pull/8816) [#8817](https://github.com/apache/pulsar/pull/8817) [#8858](https://github.com/apache/pulsar/pull/8858) [#8861](https://github.com/apache/pulsar/pull/8861) [#8893](https://github.com/apache/pulsar/pull/8893) [#8907](https://github.com/apache/pulsar/pull/8907) From 88436fc7385696815f122e8f9a92826955e01fb5 Mon Sep 17 00:00:00 2001 From: Enrico Olivelli Date: Thu, 22 Jul 2021 12:54:14 +0200 Subject: [PATCH 2/3] Apply @Anonymitatet's suggestion Co-authored-by: Anonymitaet <50226895+Anonymitaet@users.noreply.github.com> --- site2/website/release-notes.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/site2/website/release-notes.md b/site2/website/release-notes.md index 1ffa05b9f51dc..990c274926441 100644 --- a/site2/website/release-notes.md +++ b/site2/website/release-notes.md @@ -5,12 +5,15 @@ ### Update notice -Due to a breaking change in the Schema API it may happen that some Pulsar Functions or Pulsar IO Connector fail to work, +Due to a breaking change in the Schema API, it may happen that some Pulsar Functions or Pulsar IO connectors fail to work, throwing an `IncompatibleClassChangeError`. -In this case you have to rebuild your Function using Apache Pulsar 2.8.0 as dependency and redeploy it. -If you are running on Kubernetes you can temporarily let the Functions Worker pod run with a previous version of Pulsar + +In this case, you need to rebuild your Function using Apache Pulsar 2.8.0 as a dependency and redeploy it. + +If you are running on Kubernetes, you can temporarily let the Functions Worker pod run with a previous version of Pulsar in order to not cause downtime. -More context in [this issue](https://github.com/apache/pulsar/issues/11338). + +For more context about this issue, see [[Pulsar Functions and IO] Cannot upgrade Function built for Pulsar 2.7 to Pulsar 2.8](https://github.com/apache/pulsar/issues/11338). #### PIPs - [PIP 45] Pluggable metadata interface [#9148](https://github.com/apache/pulsar/pull/9148) [#9221](https://github.com/apache/pulsar/pull/9221) [#9240](https://github.com/apache/pulsar/pull/9240) [#9273](https://github.com/apache/pulsar/pull/9273) [#9274](https://github.com/apache/pulsar/pull/9274) [#9338](https://github.com/apache/pulsar/pull/9338) [#9346](https://github.com/apache/pulsar/pull/9346) [#9351](https://github.com/apache/pulsar/pull/9351) [#9412](https://github.com/apache/pulsar/pull/9412) [#9485](https://github.com/apache/pulsar/pull/9485) [#9586](https://github.com/apache/pulsar/pull/9586) [#9967](https://github.com/apache/pulsar/pull/9967) [#9973](https://github.com/apache/pulsar/pull/9973) [#10391](https://github.com/apache/pulsar/pull/10391) [#10457](https://github.com/apache/pulsar/pull/10457) [#10532](https://github.com/apache/pulsar/pull/10532) [#10545](https://github.com/apache/pulsar/pull/10545) [#10647](https://github.com/apache/pulsar/pull/10647) From 057bd9c33abfec559d222e00c827174a4434146f Mon Sep 17 00:00:00 2001 From: Enrico Olivelli Date: Thu, 22 Jul 2021 12:56:19 +0200 Subject: [PATCH 3/3] add link to https://github.com/apache/pulsar/pull/10878 --- site2/website/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site2/website/release-notes.md b/site2/website/release-notes.md index 990c274926441..9e9a2f67a22df 100644 --- a/site2/website/release-notes.md +++ b/site2/website/release-notes.md @@ -5,7 +5,7 @@ ### Update notice -Due to a breaking change in the Schema API, it may happen that some Pulsar Functions or Pulsar IO connectors fail to work, +Due to a [breaking change in the Schema API](https://github.com/apache/pulsar/pull/10878), it may happen that some Pulsar Functions or Pulsar IO connectors fail to work, throwing an `IncompatibleClassChangeError`. In this case, you need to rebuild your Function using Apache Pulsar 2.8.0 as a dependency and redeploy it.