You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting an uninformative error message when trying to get topic metadata:
Exception in thread "main" org.apache.pulsar.client.admin.PulsarAdminException: java.lang.IllegalArgumentException: pulsar+ssl://pc-123.redacted-place.pulsar.someplace.com:6651/admin/v2/persistent/abc/xyz/def-v1/partitions could not be parsed into a proper Uri, missing scheme
val pulsarAdmin = PulsarAdmin.builder().serviceHttpUrl(pulsarContainerBuilderProperties.serviceUrl).build()
val maxNumPartitions = pulsarAdmin.topics().getPartitionedTopicMetadata(topic).partitions
Scheme is the "pulsar+ssl" part afaik and this looks right to me.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm getting an uninformative error message when trying to get topic metadata:
Exception in thread "main" org.apache.pulsar.client.admin.PulsarAdminException: java.lang.IllegalArgumentException: pulsar+ssl://pc-123.redacted-place.pulsar.someplace.com:6651/admin/v2/persistent/abc/xyz/def-v1/partitions could not be parsed into a proper Uri, missing scheme
Scheme is the "pulsar+ssl" part afaik and this looks right to me.
Can anyone help?
Also at https://stackoverflow.com/questions/79279743/getting-number-of-partitions-of-a-pulsar-topic-could-not-be-parsed-into-a-prope
Beta Was this translation helpful? Give feedback.
All reactions