class AcknowledgementsAdapter implements Adapter<Acknowledgements> {

    @Override
    public Adaptable toAdaptable(final Acknowledgements acknowledgements, final TopicPath.Channel channel) {
        return Adaptable.newBuilder(getTopicPath(acknowledgements, channel))
                .withPayload(getPayload(acknowledgements))
                .withHeaders(getExternalHeaders(acknowledgements.getDittoHeaders()))
                .build();
    }

    private  AcknowledgementsAdapter(final HeaderTranslator headerTranslator);

}