+++ /dev/null
-package de.juplo.kafka;
-
-
-import lombok.Value;
-
-
-@Value
-public class ProduceFailure implements ProduceResult
-{
- private final String error;
- private final String exception;
- private final Integer status;
-
-
- public ProduceFailure(Exception e)
- {
- status = 500;
- exception = e.getClass().getSimpleName();
- error = e.getMessage();
- }
-}