Skip to content

Commit

Permalink
add deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Z1kkurat committed Aug 24, 2023
1 parent 73f22ef commit 486c534
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1325,7 +1325,7 @@ object Consumer {
* and `withMetrics2` using `MeasureDuration` from `cats-helper`.
* This should not be used and should be removed in a reasonable amount of time.
*/
@deprecated("Use `withMetrics1`", since = "11.16.2")
@deprecated("Use `withMetrics1`", since = "11.16.1")
def withMetrics2[E](
metrics: ConsumerMetrics[F]
)(implicit F: MonadError[F, E], measureDuration: MeasureDuration[F], clock: Clock[F]): Consumer[F, K, V] =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ object Producer {
* and `withMetrics1` using `MeasureDuration` from `cats-helper`.
* This should not be used and should be removed in a reasonable amount of time.
*/
@deprecated("Use `withMetrics`", since = "11.16.2")
@deprecated("Use `withMetrics`", since = "11.16.1")
def withMetrics1[E](
metrics: ProducerMetrics[F]
)(implicit F: MonadError[F, E], measureDuration: MeasureDuration[F]): Producer[F] = {
Expand Down

0 comments on commit 486c534

Please sign in to comment.