|
28 | 28 | import javax.validation.constraints.Min; |
29 | 29 | import javax.validation.constraints.NotNull; |
30 | 30 |
|
| 31 | +import kafdrop.config.MessageFormatConfiguration; |
31 | 32 | import kafdrop.util.*; |
32 | 33 | import org.springframework.http.MediaType; |
33 | 34 | import org.springframework.stereotype.Controller; |
@@ -64,19 +65,19 @@ public final class MessageController { |
64 | 65 | private final MessageInspector messageInspector; |
65 | 66 |
|
66 | 67 | private final MessageFormatProperties messageFormatProperties; |
67 | | - private final MessageFormatProperties keyFormatProperties; |
| 68 | + private final MessageFormatConfiguration.KeyFormatProperties keyFormatProperties; |
68 | 69 |
|
69 | 70 | private final SchemaRegistryProperties schemaRegistryProperties; |
70 | 71 |
|
71 | 72 | private final ProtobufDescriptorProperties protobufProperties; |
72 | 73 |
|
73 | | - public MessageController(KafkaMonitor kafkaMonitor, MessageInspector messageInspector, MessageFormatProperties messageFormatProperties, MessageFormatProperties keyFormatProperties, SchemaRegistryProperties schemaRegistryProperties, ProtobufDescriptorProperties protobufProperties) { |
| 74 | + public MessageController(KafkaMonitor kafkaMonitor, MessageInspector messageInspector, MessageFormatProperties messageFormatProperties, MessageFormatConfiguration.KeyFormatProperties keyFormatProperties, SchemaRegistryProperties schemaRegistryProperties, ProtobufDescriptorProperties protobufProperties) { |
74 | 75 | this.kafkaMonitor = kafkaMonitor; |
75 | 76 | this.messageInspector = messageInspector; |
76 | 77 | this.messageFormatProperties = messageFormatProperties; |
77 | 78 | this.keyFormatProperties = keyFormatProperties; |
78 | 79 | this.schemaRegistryProperties = schemaRegistryProperties; |
79 | | - this.protobufProperties = protobufProperties; |
| 80 | + this.protobufProperties = protobufProperties; |
80 | 81 | } |
81 | 82 |
|
82 | 83 | /** |
@@ -314,9 +315,9 @@ public static class PartitionOffsetInfo { |
314 | 315 | private MessageFormat format; |
315 | 316 |
|
316 | 317 | private MessageFormat keyFormat; |
317 | | - |
| 318 | + |
318 | 319 | private String descFile; |
319 | | - |
| 320 | + |
320 | 321 | private String msgTypeName; |
321 | 322 |
|
322 | 323 | public PartitionOffsetInfo(int partition, long offset, long count, MessageFormat format) { |
|
0 commit comments