Skip to content

Commit

Permalink
Improve custom interceptor doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsfans authored Mar 22, 2024
1 parent 4413aa1 commit 0367773
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,13 @@ in order to place the libraries' classes on the classpath.
Similar to your interceptor class, any libraries you package must be compiled
for the same language level as Zeebe's (i.e. currently JDK 11) or lower.

:::note

file path in jar should match package name. e.g, your package name is `com.example`, then you should packaging jar as `jar cvfm LoggingInterceptor.jar ./MANIFEST.MF ./com/example/*.class ./lib`

:::


```sh
# both runtime libraries and the manifest must be packaged together with the compiled classes
jar cvfm LoggingInterceptor.jar ./MANIFEST.MF ./*.class ./lib
Expand Down

0 comments on commit 0367773

Please sign in to comment.