Copilot commented on code in PR #251: URL: https://github.com/apache/eventmesh-site/pull/251#discussion_r2653056623
########## versioned_docs/version-v1.12.0/upgrade-guide/01-upgrade-guide.md: ########## @@ -0,0 +1,15 @@ +# EventMesh Upgrade Guide + +> This article briefly introduces the precautions for upgrading EventMesh from version 1.2.0 to the latest version. Review Comment: The upgrade guide references version "1.2.0" as the starting point for upgrades, but this appears inconsistent with the v1.12.0 release being documented. The statement "upgrading EventMesh from version 1.2.0 to the latest version" should likely reference a more recent baseline version or be clarified as "1.12.0" instead of "1.2.0". This could confuse users about which versions are relevant for the upgrade path. ########## versioned_docs/version-v1.12.0/sdk-java/01-intro.md: ########## @@ -0,0 +1,39 @@ +# Installation + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + +[](https://maven-badges.herokuapp.com/maven-central/org.apache.eventmesh/eventmesh-sdk-java) + +EventMesh SDK for Java is a collection of Java libraries to integrate EventMesh in a Java application. The SDK supports sending and receiving synchronous messages, asynchronous messages, and broadcast messages in TCP, HTTP, and gRPC protocols. The SDK implements EventMesh Message, CloudEvents, and OpenMessaging formats. The demo project is available in the [`eventmesh-example`](https://github.com/apache/eventmesh/tree/master/eventmesh-examples) module. + +<Tabs> + <TabItem value="Gradle" label="Gradle" default> + + To install EventMesh SDK for Java with Gradle, declare `org.apache.eventmesh:eventmesh-sdk-java` as `implementation` in the dependencies block of the module's `build.gradle` file. + +```gradle +dependencies { + implementation 'org.apache.eventmesh:eventmesh-sdk-java:1.10.0' +} +``` + + + +</TabItem> + <TabItem value="Maven" label="Maven"> + +To install EventMesh SDK for Java with Maven, declare `org.apache.eventmesh:eventmesh-sdk-java` as a dependency in the dependencies block of the project's `pom.xml` file. + +```xml +<dependencies> + <dependency> + <groupId>org.apache.eventmesh</groupId> + <artifactId>eventmesh-sdk-java</artifactId> + <version>1.10.0</version> Review Comment: The SDK installation instructions reference version "1.10.0" in both Gradle and Maven examples, but this is documentation for v1.12.0. Users following these instructions would install an older version of the SDK instead of the current release. The version should be updated to "1.12.0" to match the documentation version. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
