Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent Twitter Dependency #1019

Merged
merged 2 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package io.lenses.streamreactor.connect

import com.github.luben.zstd.NoPool
import com.hadoop.compression.lzo.LzopCodec
import com.typesafe.scalalogging.LazyLogging
import org.apache.hadoop.io.compress.CompressionCodec
import org.tukaani.xz.FilterOptions
Expand All @@ -13,7 +12,6 @@ object ProvidedJars extends LazyLogging {

private val classesWithinJarsToProvide = Seq(
classOf[FilterOptions],
classOf[LzopCodec],
classOf[NoPool],
classOf[CompressionCodec],
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class S3CompressionTest
("parquet", "uncompressed", false),
("parquet", "snappy", false),
("parquet", "gzip", false),
("parquet", "lz4", false),
//("parquet", "lz4", false),
("parquet", "zstd", false),
)

Expand Down
5 changes: 1 addition & 4 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ object Dependencies {
"typesafe" at "https://repo.typesafe.com/typesafe/releases/",
"cloudera" at "https://repository.cloudera.com/artifactory/cloudera-repos/",
"jitpack" at "https://jitpack.io",
"twitter" at "https://maven.twttr.com/",
)

object Versions {
Expand Down Expand Up @@ -95,7 +94,6 @@ object Dependencies {

val xzVersion = "1.9"
val lz4Version = "1.8.0"
val lzoVersion = "0.4.19"

val californiumVersion = "3.5.0"
val bouncyCastleVersion = "1.70"
Expand Down Expand Up @@ -363,7 +361,6 @@ object Dependencies {

lazy val xz = "org.tukaani" % "xz" % xzVersion
lazy val lz4 = "org.lz4" % "lz4-java" % lz4Version
lazy val lzo = "com.hadoop.gplcompression" % "hadoop-lzo" % lzoVersion

def hiveExcludes(moduleID: ModuleID): ModuleID =
moduleID
Expand Down Expand Up @@ -469,7 +466,7 @@ trait Dependencies {
stsSdk,
)

val compressionCodecDeps: Seq[ModuleID] = Seq(xz, lzo, lz4)
val compressionCodecDeps: Seq[ModuleID] = Seq(xz, lz4)

val kafkaConnectAzureDatalakeDeps: Seq[ModuleID] = Seq(
azureDataLakeSdk,
Expand Down
Loading