Skip to content

Commit

Permalink
Remove deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
aartigao committed Oct 28, 2023
1 parent 15d32d9 commit ebb36b2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,6 @@ object AdminClientSettings {

}

@deprecated("use the overload that takes an argument for BootstrapServers", "2.0.0")
def apply: AdminClientSettings =
AdminClientSettingsImpl(
properties = Map.empty,
closeTimeout = 20.seconds
)

def apply(bootstrapServers: String): AdminClientSettings =
AdminClientSettingsImpl(
properties = Map.empty,
Expand Down
5 changes: 0 additions & 5 deletions modules/core/src/main/scala/fs2/kafka/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,6 @@ package kafka {

object TransactionalProducerRecords {

@deprecated("this is now an identity operation", "3.0.0-M5")
def apply[F[_], K, V](
chunk: Chunk[CommittableProducerRecords[F, K, V]]
): Chunk[CommittableProducerRecords[F, K, V]] = chunk

/**
* Creates a new [[TransactionalProducerRecords]] for producing exactly one
* [[CommittableProducerRecords]]
Expand Down
16 changes: 0 additions & 16 deletions modules/vulcan/src/main/scala/fs2/kafka/vulcan/AvroSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,6 @@ sealed abstract class AvroSettings[F[_]] {
writerSchema: Option[Schema]
): F[(KafkaAvroSerializer, SchemaRegistryClient)]

@deprecated("use the overload that takes an optional writer schema", "2.5.0-M3")
final def createAvroSerializer(
isKey: Boolean
): F[(KafkaAvroSerializer, SchemaRegistryClient)] =
createAvroSerializer(isKey, writerSchema = None)

/**
* Creates a new [[AvroSettings]] instance with the specified function for creating
* `KafkaAvroDeserializer`s from settings. The arguments are [[schemaRegistryClient]], `isKey`,
Expand All @@ -132,16 +126,6 @@ sealed abstract class AvroSettings[F[_]] {
// format: on
): AvroSettings[F]

@deprecated("use the overload that has an `Option[Schema]` argument", "2.5.0-M3")
final def withCreateAvroSerializer(
// format: off
createAvroSerializerWith: (F[SchemaRegistryClient], Boolean, Map[String, String]) => F[(KafkaAvroSerializer, SchemaRegistryClient)]
// format: on
): AvroSettings[F] =
withCreateAvroSerializer((client, isKey, _, properties) =>
createAvroSerializerWith(client, isKey, properties)
)

/**
* Creates a new [[AvroSettings]] instance with the specified function for registering schemas
* from settings. The arguments are [[schemaRegistryClient]], `subject`, and `codec`.
Expand Down

0 comments on commit ebb36b2

Please sign in to comment.