Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into ADAPT-1435
Browse files Browse the repository at this point in the history
  • Loading branch information
aman-minz committed Aug 18, 2023
2 parents e9230a3 + 8cf1c69 commit bb37cca
Show file tree
Hide file tree
Showing 5 changed files with 304 additions and 142 deletions.
3 changes: 3 additions & 0 deletions avro/src/main/scala/hydra/avro/io/Operation.scala
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package hydra.avro.io

import org.apache.avro.Schema
import org.apache.avro.generic.GenericRecord

import scala.collection.JavaConverters._
Expand All @@ -11,3 +12,5 @@ case class Upsert(record: GenericRecord) extends Operation
case class DeleteByKey(keys: Map[String, AnyRef]) extends Operation {
def this(jmap: java.util.Map[String, AnyRef]) = this(jmap.asScala.toMap)
}

case class CreateOrAlterTable(schema: Schema) extends Operation
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ object ConfluentSchemaRegistry extends LoggingAdapter {
new CacheLoader[SchemaRegistryClientInfo, ConfluentSchemaRegistry] {

def load(info: SchemaRegistryClientInfo): ConfluentSchemaRegistry = {
log.debug(s"Creating new schema registry client for ${info.url}")
log.debug(s"Creating new schema registry client for ${info.url}.")
val client = if (info.url == "mock") {
mockRegistry
} else {
Expand Down
Loading

0 comments on commit bb37cca

Please sign in to comment.