|
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; |
@@ -62,19 +63,19 @@ public final class MessageController { |
62 | 63 | private final MessageInspector messageInspector; |
63 | 64 |
|
64 | 65 | private final MessageFormatProperties messageFormatProperties; |
65 | | - private final MessageFormatProperties keyFormatProperties; |
| 66 | + private final MessageFormatConfiguration.KeyFormatProperties keyFormatProperties; |
66 | 67 |
|
67 | 68 | private final SchemaRegistryProperties schemaRegistryProperties; |
68 | 69 |
|
69 | 70 | private final ProtobufDescriptorProperties protobufProperties; |
70 | 71 |
|
71 | | - public MessageController(KafkaMonitor kafkaMonitor, MessageInspector messageInspector, MessageFormatProperties messageFormatProperties, MessageFormatProperties keyFormatProperties, SchemaRegistryProperties schemaRegistryProperties, ProtobufDescriptorProperties protobufProperties) { |
| 72 | + public MessageController(KafkaMonitor kafkaMonitor, MessageInspector messageInspector, MessageFormatProperties messageFormatProperties, MessageFormatConfiguration.KeyFormatProperties keyFormatProperties, SchemaRegistryProperties schemaRegistryProperties, ProtobufDescriptorProperties protobufProperties) { |
72 | 73 | this.kafkaMonitor = kafkaMonitor; |
73 | 74 | this.messageInspector = messageInspector; |
74 | 75 | this.messageFormatProperties = messageFormatProperties; |
75 | 76 | this.keyFormatProperties = keyFormatProperties; |
76 | 77 | this.schemaRegistryProperties = schemaRegistryProperties; |
77 | | - this.protobufProperties = protobufProperties; |
| 78 | + this.protobufProperties = protobufProperties; |
78 | 79 | } |
79 | 80 |
|
80 | 81 | /** |
@@ -312,9 +313,9 @@ public static class PartitionOffsetInfo { |
312 | 313 | private MessageFormat format; |
313 | 314 |
|
314 | 315 | private MessageFormat keyFormat; |
315 | | - |
| 316 | + |
316 | 317 | private String descFile; |
317 | | - |
| 318 | + |
318 | 319 | private String msgTypeName; |
319 | 320 |
|
320 | 321 | public PartitionOffsetInfo(int partition, long offset, long count, MessageFormat format) { |
|
0 commit comments