Skip to content

Commit

Permalink
chore: removed obsolete annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
brmagadutra committed Nov 24, 2023
1 parent 38763b6 commit 9b21d02
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/KafkaFlow/Extensions/ConfigurationBuilderExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ public static IConsumerMiddlewareConfigurationBuilder AddTypedHandlers(
/// <param name="middlewares">The middleware configuration builder</param>
/// <typeparam name="T">The compressor type</typeparam>
/// <returns></returns>
[Obsolete("Compressors should only be used in backward compatibility scenarios, in the vast majority of cases native compression (producer.WithCompression()) should be used instead")]
public static IConsumerMiddlewareConfigurationBuilder AddDecompressor<T>(this IConsumerMiddlewareConfigurationBuilder middlewares)
where T : class, IDecompressor
{
Expand All @@ -221,7 +220,6 @@ public static IConsumerMiddlewareConfigurationBuilder AddDecompressor<T>(this IC
/// <typeparam name="T">The decompressor type that implements <see cref="IDecompressor"/></typeparam>
/// <param name="factory">A factory to create the <see cref="IDecompressor"/> instance</param>
/// <returns></returns>
[Obsolete("Compressors should only be used in backward compatibility scenarios, in the vast majority of cases native compression (producer.WithCompression()) should be used instead")]
public static IConsumerMiddlewareConfigurationBuilder AddDecompressor<T>(
this IConsumerMiddlewareConfigurationBuilder middlewares,
Factory<T> factory)
Expand All @@ -237,7 +235,6 @@ public static IConsumerMiddlewareConfigurationBuilder AddDecompressor<T>(
/// <param name="middlewares">The middleware configuration builder</param>
/// <typeparam name="T">The compressor type that implements <see cref="ICompressor"/></typeparam>
/// <returns></returns>
[Obsolete("Compressors should only be used in backward compatibility scenarios, in the vast majority of cases native compression (producer.WithCompression()) should be used instead")]
public static IProducerMiddlewareConfigurationBuilder AddCompressor<T>(this IProducerMiddlewareConfigurationBuilder middlewares)
where T : class, ICompressor
{
Expand All @@ -253,7 +250,6 @@ public static IProducerMiddlewareConfigurationBuilder AddCompressor<T>(this IPro
/// <typeparam name="T">The compressor type that implements <see cref="ICompressor"/></typeparam>
/// <param name="factory">A factory to create the <see cref="ICompressor"/> instance</param>
/// <returns></returns>
[Obsolete("Compressors should only be used in backward compatibility scenarios, in the vast majority of cases native compression (producer.WithCompression()) should be used instead")]
public static IProducerMiddlewareConfigurationBuilder AddCompressor<T>(
this IProducerMiddlewareConfigurationBuilder middlewares,
Factory<T> factory)
Expand Down

0 comments on commit 9b21d02

Please sign in to comment.