1

I see that Scio fallsback to Kryo coder rather than Java Serializer which is default coder used for Dataflow when coder cannot be inferred/found via CoderRegistry. I don't see any reference to setFallbackCoderProvider anywhere, how does Scio registers the fallback to KryoAtomicCoder?

user_1357
  • 7,766
  • 13
  • 63
  • 106

1 Answers1

2

Up to Scio v0.6.x it happens here: https://github.com/spotify/scio/blob/v0.6.1/scio-core/src/main/scala/com/spotify/scio/Implicits.scala#L55

Coder lookup and derivation has changed significantly since v0.7.x. It's still under heavy development but for more details see: https://github.com/spotify/scio/wiki/Coders

Neville Li
  • 420
  • 3
  • 10