You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pulsar.apache.org by Apache Pulsar Slack <ap...@gmail.com> on 2018/10/27 09:11:04 UTC

Slack digest for #general - 2018-10-27

2018-10-26 11:46:25 UTC - Ivan Kelly: @Xavier Baques it should be, as long as you don't use the new stuff in 2.2.0 client
----
2018-10-26 11:46:28 UTC - Ivan Kelly: like getSchema()
----
2018-10-26 11:48:18 UTC - Xavier Baques: Thanks @Ivan Kelly!!
----
2018-10-26 14:31:25 UTC - Rodrigo Malacarne: Hello all, is it possible to set a topic compaction threshold in KB, instead of MB? Something like ```./bin/pulsar-admin namespaces set-compaction-threshold --threshold 1KB my-tenant/my-namespace```?
----
2018-10-26 14:36:49 UTC - Rodrigo Malacarne: Or maybe it accepts non-integer values, like 0.1M?
----
2018-10-26 14:40:37 UTC - Rodrigo Malacarne: ok ... it accepts "1K" as argument ... :slightly_smiling_face:
----
2018-10-26 14:50:28 UTC - jia zhai: :+1:
----
2018-10-26 14:54:02 UTC - legendtkl: @legendtkl has joined the channel
----
2018-10-26 15:54:52 UTC - Chris Miller: In 2.2.0 org.apache.flink.streaming.connectors.pulsar.PulsarJsonTableSink takes a ProducerConfiguration in its constructor, but ProducerConfiguration is deprecated. If I want a PulsarJsonTableSink, presumably I don't have a choice other than to construct/use the deprecated class for now?
----
2018-10-26 15:58:03 UTC - Sijie Guo: @Chris Miller yes. you have to use ProducerConfiguration for now. we will update the sink code in the next iteration to get rid of deprecated usage.
+1 : Chris Miller
----
2018-10-26 21:50:57 UTC - Ravi: i m using docker-compose for the dashboard, image gets built but the proxydoes not get connected. not sure what is missing
----
2018-10-26 21:52:21 UTC - Ravi: @Matteo Merli tried using the compose along with the pulsar compose
----
2018-10-26 21:57:19 UTC - Ali Ahmed: hey ravi most likely the container hostname provided in not correct
----
2018-10-26 22:01:49 UTC - Colin Stearns: @Colin Stearns has joined the channel
----
2018-10-26 23:48:44 UTC - Nicolas Ha: what is the difference between `apachepulsar/pulsar-all` and `apachepulsar/pulsar`?
It seems I have to use `apachepulsar/pulsar-all` to get the broker, but I would like to get the dashboard to connect too (like in there: <https://github.com/apache/pulsar/blob/master/docker-compose/standalone-dashboard/docker-compose.yml> )
----
2018-10-26 23:51:31 UTC - Ali Ahmed: @Harald Gustafsson I will have to check maybe there is a regression in the meantime you can use the testcontainers library or embedded pulsar to create new instances for each test. just report you issue on github and I I will take a look
----
2018-10-26 23:58:25 UTC - Matteo Merli: @Nicolas Ha pulsar-all contains `pulsar` plus the builtin connectors and offloader plugins
----
2018-10-27 00:00:14 UTC - Nicolas Ha: it seems replacing this with `image: apachepulsar/pulsar-all` does not work for me
<https://github.com/apache/pulsar/blob/master/docker-compose/standalone-dashboard/docker-compose.yml#L25>
Ie. the dashboard shows up with “No Broker” it works otherwise if I keep it as-is
----
2018-10-27 00:24:43 UTC - Ali Ahmed: @Nicolas Ha apachepulsar/pulsar-all contain connectors but you don’t need it to run the broker
----
2018-10-27 00:34:24 UTC - Nicolas Ha: ok, so I should use `apachepulsar/pulsar` as I need the broker. Is it because the ports/config are different then?
----
2018-10-27 00:37:48 UTC - Nicolas Ha: (I think I am missing something - time to go to sleep for me though :stuck_out_tongue: )
----
2018-10-27 00:40:57 UTC - Nicolas Ha: ok I see it in my dashboard now :smile: not sure what I did wrong - probably misconfiguration from me. Thanks!
----
2018-10-27 01:01:09 UTC - Nicolas Ha: I am trying to upgrade to the latest pulsar, I see this (calling from Clojure):
```java.lang.IncompatibleClassChangeError: Method org.apache.pulsar.client.api.PulsarClient.builder()Lorg/apache/pulsar/client/api/ClientBuilder; must be InterfaceMethodref constant```
Did anyone encounter that before?
----
2018-10-27 01:05:53 UTC - Ali Ahmed: @Nicolas Ha not sure is the clojure wrapping calls over pulsar 2.2 ?
----
2018-10-27 01:12:44 UTC - Nicolas Ha: I do the wrapping myself (clojure/java interrop) however this only happens in CI for some reason
----
2018-10-27 01:13:04 UTC - Ali Ahmed: I don’t know
----
2018-10-27 01:14:07 UTC - Nicolas Ha: Here is the call
```(-&gt;
                     (org.apache.pulsar.client.api.PulsarClient/builder)
                     (.serviceUrl broker-url)
                     (.build))```
This works locally and in tests, but not with the uberjar in a docker container  so I am starting to suspect AOT or something fishy like that
----
2018-10-27 01:15:55 UTC - Ali Ahmed: which uberjar  ?
----
2018-10-27 03:37:12 UTC - Ravi: my problem is topics do not show up on the dashboard, testing on sample python code
----
2018-10-27 07:29:36 UTC - Nicolas Ha: hello :slightly_smiling_face: I mean my app that contains the client
----
2018-10-27 07:44:51 UTC - Nicolas Ha: turns out is doesn’t work with java 10
----
2018-10-27 08:15:27 UTC - Ali Ahmed: java 10 is currently not supported
----