Skip to content

Commit 0a565a8

Browse files
committed
feat: migrate from flight-grpc to flight-core
The flight-grpc package is no longer maintained and was considered experimental, providing utility classes to expose both a Flight gRPC service and a client. In our case, we don’t need to expose a gRPC service—the client alone is sufficient for our needs.
1 parent 2d41c39 commit 0a565a8

File tree

1 file changed

+34
-3
lines changed

1 file changed

+34
-3
lines changed

pom.xml

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
THE SOFTWARE.
2323
2424
-->
25-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2627
<modelVersion>4.0.0</modelVersion>
2728

2829
<groupId>com.influxdb</groupId>
@@ -101,8 +102,8 @@
101102

102103
<dependency>
103104
<groupId>org.apache.arrow</groupId>
104-
<artifactId>flight-grpc</artifactId>
105-
<version>15.0.2</version>
105+
<artifactId>flight-core</artifactId>
106+
<version>18.1.0</version>
106107
<exclusions>
107108
<exclusion>
108109
<groupId>org.slf4j</groupId>
@@ -140,6 +141,10 @@
140141
<groupId>io.netty</groupId>
141142
<artifactId>netty-buffer</artifactId>
142143
</exclusion>
144+
<exclusion>
145+
<groupId>io.netty</groupId>
146+
<artifactId>netty-transport-native-unix-common</artifactId>
147+
</exclusion>
143148
<exclusion>
144149
<groupId>com.google.protobuf</groupId>
145150
<artifactId>protobuf-java</artifactId>
@@ -152,6 +157,14 @@
152157
<groupId>com.google.errorprone</groupId>
153158
<artifactId>error_prone_annotations</artifactId>
154159
</exclusion>
160+
<exclusion>
161+
<groupId>com.google.j2objc</groupId>
162+
<artifactId>j2objc-annotations</artifactId>
163+
</exclusion>
164+
<exclusion>
165+
<groupId>com.google.code.gson</groupId>
166+
<artifactId>gson</artifactId>
167+
</exclusion>
155168
</exclusions>
156169
</dependency>
157170

@@ -195,6 +208,12 @@
195208
</exclusions>
196209
</dependency>
197210

211+
<dependency>
212+
<groupId>io.netty</groupId>
213+
<artifactId>netty-transport-native-unix-common</artifactId>
214+
<version>${netty-handler.version}</version>
215+
</dependency>
216+
198217
<dependency>
199218
<groupId>io.netty</groupId>
200219
<artifactId>netty-tcnative-boringssl-static</artifactId>
@@ -213,6 +232,18 @@
213232
<version>33.3.1-jre</version>
214233
</dependency>
215234

235+
<dependency>
236+
<groupId>com.google.j2objc</groupId>
237+
<artifactId>j2objc-annotations</artifactId>
238+
<version>3.0.0</version>
239+
</dependency>
240+
241+
<dependency>
242+
<groupId>com.google.code.gson</groupId>
243+
<artifactId>gson</artifactId>
244+
<version>2.10.1</version>
245+
</dependency>
246+
216247
<dependency>
217248
<groupId>org.slf4j</groupId>
218249
<artifactId>slf4j-api</artifactId>

0 commit comments

Comments
 (0)