@@ -17,17 +17,17 @@ public class TopicConfigurationObject : IAsyncApiElement
17
17
/// <summary>
18
18
/// The retention.ms configuration option.
19
19
/// </summary>
20
- public int ? RetentionMiliseconds { get ; set ; }
20
+ public long ? RetentionMilliseconds { get ; set ; }
21
21
22
22
/// <summary>
23
23
/// The retention.bytes configuration option.
24
24
/// </summary>
25
- public int ? RetentionBytes { get ; set ; }
25
+ public long ? RetentionBytes { get ; set ; }
26
26
27
27
/// <summary>
28
28
/// The delete.retention.ms configuration option.
29
29
/// </summary>
30
- public int ? DeleteRetentionMiliseconds { get ; set ; }
30
+ public long ? DeleteRetentionMilliseconds { get ; set ; }
31
31
32
32
/// <summary>
33
33
/// The max.message.bytes configuration option.
@@ -63,10 +63,10 @@ public void Serialize(IAsyncApiWriter writer)
63
63
64
64
writer . WriteStartObject ( ) ;
65
65
writer . WriteOptionalCollection ( AsyncApiConstants . CleanupPolicy , this . CleanupPolicy , ( w , s ) => w . WriteValue ( s ) ) ;
66
- writer . WriteOptionalProperty < int > ( AsyncApiConstants . RetentionMiliseconds , this . RetentionMiliseconds ) ;
67
- writer . WriteOptionalProperty < int > ( AsyncApiConstants . RetentionBytes , this . RetentionBytes ) ;
68
- writer . WriteOptionalProperty < int > ( AsyncApiConstants . DeleteRetentionMiliseconds , this . DeleteRetentionMiliseconds ) ;
69
- writer . WriteOptionalProperty < int > ( AsyncApiConstants . MaxMessageBytes , this . MaxMessageBytes ) ;
66
+ writer . WriteOptionalProperty ( AsyncApiConstants . RetentionMilliseconds , this . RetentionMilliseconds ) ;
67
+ writer . WriteOptionalProperty ( AsyncApiConstants . RetentionBytes , this . RetentionBytes ) ;
68
+ writer . WriteOptionalProperty ( AsyncApiConstants . DeleteRetentionMilliseconds , this . DeleteRetentionMilliseconds ) ;
69
+ writer . WriteOptionalProperty ( AsyncApiConstants . MaxMessageBytes , this . MaxMessageBytes ) ;
70
70
writer . WriteOptionalProperty < bool > ( AsyncApiConstants . ConfluentKeySchemaValidation , this . ConfluentKeySchemaValidation ) ;
71
71
writer . WriteOptionalProperty ( AsyncApiConstants . ConfluentKeySubjectName , this . ConfluentKeySubjectName ) ;
72
72
writer . WriteOptionalProperty < bool > ( AsyncApiConstants . ConfluentValueSchemaValidation , this . ConfluentValueSchemaValidation ) ;
0 commit comments