Skip to content

Commit

Permalink
make hidden by mistake classes public again
Browse files Browse the repository at this point in the history
  • Loading branch information
Denys Fakhritdinov committed Oct 7, 2024
1 parent c8e6e5a commit 24bd19c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import com.evolutiongaming.skafka.Header
import com.evolutiongaming.skafka.producer.ProducerRecord
import scodec.bits.ByteVector

private[journal] trait ActionToProducerRecord[F[_]] {
trait ActionToProducerRecord[F[_]] {

def apply(action: Action): F[ProducerRecord[String, ByteVector]]
}

private[journal] object ActionToProducerRecord {
object ActionToProducerRecord {

implicit def apply[F[_]: MonadThrowable](
implicit actionHeaderToHeader: ActionHeaderToHeader[F],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import scodec.bits.ByteVector
* } yield actions.flatMap(_.version)
* }}}
*/
private[journal] trait ConsRecordToActionHeader[F[_]] {
trait ConsRecordToActionHeader[F[_]] {

/** Convert generic Kafka record to a Kafka Journal action.
*
Expand All @@ -38,7 +38,7 @@ private[journal] trait ConsRecordToActionHeader[F[_]] {
def apply[A](record: ConsumerRecord[String, A]): OptionT[F, ActionHeader]
}

private[journal] object ConsRecordToActionHeader {
object ConsRecordToActionHeader {

implicit def apply[F[_]: MonadThrowable](implicit fromBytes: FromBytes[F, Option[ActionHeader]]): ConsRecordToActionHeader[F] =
new ConsRecordToActionHeader[F] {
Expand Down

0 comments on commit 24bd19c

Please sign in to comment.