CleverCloud / pulsar4s

Idiomatic, typesafe, and reactive Scala client for Apache Pulsar
Apache License 2.0
227 stars 43 forks source link

Help getting a Mac m1/m2 compatible 2.8.2 build #532

Open lucas-t5 opened 1 year ago

lucas-t5 commented 1 year ago

Hello,

I use version 2.8.2 of pulsar4s on a project with ZIO 1 and am currently unable to compile the code on Mac M2.

[error] scala.reflect.internal.FatalError: Error accessing /Users/xxxxx/Library/Caches/Coursier/v1/https/team.performance.immo/nexus/repository/maven-public/org/apache/pulsar/pulsar-client/2.10.1/pulsar-client-2.10.1.jar

Digging a bit, it seems like pulsar-client-2.10.1.jar doesnt support mac architecture (M1-M2). So we need a newer version of the jar. Also we will need to migrate to ZIO2 in order to move to version 2.9 of pulsar4s.

Given this, is version 2.9 of pulsar4s Mac M1/M2 compatible? optionally, can provide a special build of 2.8.2 with an updated version of pulsar-client.jar (Mac Architecture compatible)?