Skip to content

Instantly share code, notes, and snippets.

aarondav / DirectOutputCommitter.scala
Last active Jan 12, 2020
View DirectOutputCommitter.scala
* Copyright 2015 Databricks, Inc.
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
* Unless required by applicable law or agreed to in writing, software
aarondav / ExceptionCatchingActorSystemImpl.scala
Last active Jan 6, 2021
UncaughtExceptionHandler in ActorSystemImpl does not behave as hoped
View ExceptionCatchingActorSystemImpl.scala
// Must be in package as ActorSystemImpl is protected[akka].
import java.util.concurrent.TimeUnit
import scala.concurrent.Future
import scala.concurrent.duration.FiniteDuration
import com.typesafe.config.ConfigFactory