// ConvertRetentionMsToInt converts the value from "retention-ms" to int
ConvertRetentionMsToInt converts the value from "retention-ms" to int
// ConvertRetentionMsToInt converts the value from " retention - ms " to int
func ConvertRetentionMsToInt(retentionMsStr string) (int, error) {
	retentionMsInt, err := strconv.Atoi(retentionMsStr)
	if err != nil {
		return 0, fmt.Errorf("invalid value for retention period: %v", retentionMsInt)
	}
	return retentionMsInt, nil
}
func ConvertRetentionMsToInt ( retentionMsStr string ) ( int , error ) { retentionMsInt , err := strconv . Atoi ( retentionMsStr ) if err != nil { return 0 , fmt . Errorf ( " " , retentionMsInt ) } return retentionMsInt , nil }
ConvertRetentionMsToInt converts the value from "retention-ms" to int
ConvertRetentionMsToInt converts the value from " retention - ms " to int