2018-09-24 10:40:33 UTC - Matti-Pekka Laaksonen: How is the replication factor 
specified? I can't find anything in the admin API documentation. Is it set for 
tenant or namespace level?
----
2018-09-24 14:35:00 UTC - Matteo Merli: @Matti-Pekka Laaksonen there is a 
system default (defined in broker.conf) and then you can override it for each 
namespace. The command is `pulsar-admin namespaces set-persistence $NAMESPACE 
...`
----
2018-09-24 14:37:11 UTC - Matteo Merli: `$ pulsar-admin namespaces 
set-persistence --bookkeeper-ack-quorum 2 --bookkeeper-ensemble 3 
--bookkeeper-write-quorum 2 --ml-mark-delete-max-rate 0 test-tenant/ns1`
----
2018-09-24 14:37:50 UTC - Matteo Merli: The parameters are explained in 
<http://pulsar.apache.org/docs/en/admin-api-namespaces/>
----
2018-09-24 18:40:56 UTC - Grant Wu: I have another… dumb, imo… question 
:slightly_smiling_face:
----
2018-09-24 18:41:09 UTC - Grant Wu: Where do I specify the Pulsar namespace 
when using the Go client?
----
2018-09-24 18:41:29 UTC - Grant Wu: Ctrl-F 
<https://godoc.org/github.com/apache/incubator-pulsar/pulsar-client-go/pulsar> 
doesn’t find anything
----
2018-09-24 19:28:34 UTC - Grant Wu: Is that in the topic name now?
----
2018-09-24 19:33:47 UTC - Ivan Kelly: full topic name is 
&lt;tenant&gt;/&lt;namespace&gt;/&lt;topic&gt;
----
2018-09-24 19:33:52 UTC - Ivan Kelly: same for java
----
2018-09-24 19:34:02 UTC - Ivan Kelly: same for all the clients i've used
----
2018-09-24 19:37:18 UTC - Grant Wu: right, sorry.
----
2018-09-24 19:37:29 UTC - Grant Wu: I’m a little too used to WebSocket land, 
which puts this stuff into the URL
----
2018-09-24 19:37:47 UTC - Ivan Kelly: ah, the one client I haven't used 
:slightly_smiling_face:
----
2018-09-25 03:10:42 UTC - William: Hey everyone. I am playing with 2.1.1 and 
Python on a standalone cluster with Vagrant. All works well in the public 
tenant area. I'm having trouble finding anything about permissions with the 
Python client once I try to make other tenants.
----
2018-09-25 03:11:19 UTC - William: I don't see support for using TLS certs in 
the Python client code, but perhaps I missed it?
----
2018-09-25 03:14:06 UTC - Matteo Merli: @William When you create the client, 
you have to pass the `AuthenticationTLS` object: 
<http://pulsar.apache.org/api/python/#pulsar.AuthenticationTLS>
----
2018-09-25 03:15:46 UTC - William: Ah thanks. I see now. So I would create the 
client with `authentication=AuthenticationTLS(...)`
----
2018-09-25 03:15:56 UTC - William: Grazie.
grin : Matteo Merli
----
2018-09-25 04:51:01 UTC - Matti-Pekka Laaksonen: @Matteo Merli Thank you, I 
didn't realize those parameters controlled the replication.
----
2018-09-25 05:47:27 UTC - Matti-Pekka Laaksonen: Is it possible to create a new 
tenant and namespace for Pulsar running in standalone mode? This would be 
useful for testing, especially using the testcontainers  project
----
2018-09-25 05:47:50 UTC - Ali Ahmed: yes
----
2018-09-25 05:48:27 UTC - Matti-Pekka Laaksonen: When I create a tenant and a 
namespace and set allowed clusters as "standalone", I get an exception saying 
that no clusters are configured for the namespace when trying to produce a 
message
----
2018-09-25 05:49:05 UTC - Ali Ahmed: can you list the sequence of commands you 
used
----
2018-09-25 05:49:45 UTC - Matti-Pekka Laaksonen: 
----
2018-09-25 05:51:09 UTC - Ali Ahmed: @Ali Ahmed set the channel topic: General 
channel - Pulsar release 2.1.0-incubating - 
<https://pulsar.incubator.apache.org/release-notes/#2.1.1-incubating>
----
2018-09-25 05:51:19 UTC - Ali Ahmed: @Ali Ahmed set the channel topic: General 
channel - Pulsar release 2.1.1-incubating - 
<https://pulsar.incubator.apache.org/release-notes/#2.1.1-incubating>
----
2018-09-25 05:52:28 UTC - Ali Ahmed: what’s the output for ```pulsar-admin 
clusters list```
----
2018-09-25 05:53:35 UTC - Matti-Pekka Laaksonen: standalone
----
2018-09-25 06:04:31 UTC - Ali Ahmed: your second command should have been
```
pulsar-admin namespaces create transitdata/test-ns --clusters standalone
```
----
2018-09-25 06:05:08 UTC - Matti-Pekka Laaksonen: So not --allowed-clusters?
----
2018-09-25 06:05:42 UTC - Ali Ahmed: namespaces need the --clusters option
----
2018-09-25 06:06:25 UTC - Matti-Pekka Laaksonen: Oh, right. Sorry, I misread 
that
----
2018-09-25 06:07:23 UTC - Matti-Pekka Laaksonen: This seems strange. I can't 
find this in the documentation: 
<http://pulsar.apache.org/docs/en/admin-api-namespaces/>
----
2018-09-25 06:07:38 UTC - Matti-Pekka Laaksonen: Only thing that is referenced 
there is setting clusters for geo-replication
----
2018-09-25 06:08:34 UTC - Ali Ahmed: it’s there search for “--clusters cl1” on 
the page
----
2018-09-25 06:13:05 UTC - Matti-Pekka Laaksonen: Are all namespaces global by 
default? This threw me off as I thought single-cluster setup was the default
----
2018-09-25 06:14:10 UTC - Ali Ahmed: global is what sense ?
----
2018-09-25 06:15:56 UTC - Matti-Pekka Laaksonen: It is referenced here: 
<https://github.com/apache/pulsar/blob/69071355ca03fac9e38f7501b37ca93ac19fef7b/pulsar-broker/src/main/java/org/apache/pulsar/broker/web/PulsarWebResource.java#L633>
----
2018-09-25 06:16:27 UTC - Matti-Pekka Laaksonen: The exception is thrown only 
if the namespace is global and the clusters are not defined correctly
----
2018-09-25 06:16:58 UTC - Matti-Pekka Laaksonen: And also here: 
<http://pulsar.apache.org/docs/en/administration-geo/#creating-global-namespaces>
----
2018-09-25 06:17:17 UTC - Matti-Pekka Laaksonen: This kind of implies that 
global namespaces are a special case of namespaces
----
2018-09-25 06:18:29 UTC - Ali Ahmed: you don’t have multiple clusters
----
2018-09-25 06:19:02 UTC - Matti-Pekka Laaksonen: No, just one
----
2018-09-25 06:19:38 UTC - Ali Ahmed: so global and local are logically the same
----
2018-09-25 06:20:26 UTC - Matti-Pekka Laaksonen: Yes, but I still don't quite 
understand where I define the namespace to be either local or global
----
2018-09-25 06:24:05 UTC - Ali Ahmed: the right way to think about is namespaces 
are started unassigned
----
2018-09-25 06:24:20 UTC - Ali Ahmed: meaning they are not materialized
----
2018-09-25 06:24:47 UTC - Ali Ahmed: you can set one more clusters to 
materialize it
----
2018-09-25 06:25:43 UTC - Matti-Pekka Laaksonen: Alright, thanks! This helps to 
understand it better
----
2018-09-25 07:25:44 UTC - Matti-Pekka Laaksonen: Is there currently a bug with 
pattern-based subscription to multiple topics?
----
2018-09-25 07:27:41 UTC - Matti-Pekka Laaksonen: When we try to produce to 
multiple topics and receive from them, it works just fine when the topics are 
specified in a List, but with a regex pattern receiving the second message fails
----
2018-09-25 07:28:03 UTC - Ali Ahmed: possible can you report an issue with 
details
----
2018-09-25 07:28:15 UTC - Matti-Pekka Laaksonen: Sorry, my colleague is working 
on this, I don't have the logs on hand
----
2018-09-25 07:28:31 UTC - Matti-Pekka Laaksonen: I'll see if he can file an 
issue
----
2018-09-25 08:53:17 UTC - Matti-Pekka Laaksonen: This was a misunderstanding. 
The consumer was created before the messages were produced, and we didn't leave 
enough time for the consumer to get notification of the new topics that match 
the regex
----

Reply via email to