File tree Expand file tree Collapse file tree 2 files changed +33
-2
lines changed Expand file tree Collapse file tree 2 files changed +33
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : ci
2
+ on :
3
+ push :
4
+ branches :
5
+ - master
6
+ pull_request :
7
+ # Also trigger on page_build, as well as release created events
8
+ page_build :
9
+ release :
10
+ types : # This configuration does not affect the page_build event above
11
+ - created
12
+
13
+ jobs :
14
+ build_java :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - name : Check out code
18
+ uses : actions/checkout@v1
19
+ with :
20
+ fetch-depth : 1
21
+
22
+ - name : Set up JDK 1.8
23
+ uses : actions/setup-java@v1
24
+ with :
25
+ java-version : 1.8
26
+
27
+ - name : Build with Maven
28
+ run : |
29
+ cd ./java
30
+ mvn -B package --file pom.xml
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ In .m2/settings.xml,
27
27
```
28
28
29
29
In pom.xml,
30
- ``` maven
30
+ ``` pom.xml
31
31
<dependency >
32
32
<groupId >io.kafkaesque.pulsar</groupId >
33
33
<artifactId >pulsar-client-plugin</artifactId >
@@ -36,7 +36,8 @@ In pom.xml,
36
36
37
37
```
38
38
39
- ``` java
39
+ Java Client example:
40
+ ``` example.java
40
41
String domain = " https://<your auth0 domain>.auth0.com/oauth/token" ;
41
42
String clientId = " " ;
42
43
String clientSecret = " " ;
You can’t perform that action at this time.
0 commit comments