2019-03-18 09:54:04 UTC - Jianfeng Qiao: Where can I find the test suites being
run for each release version of pulsar?
----
2019-03-18 09:55:38 UTC - Jianfeng Qiao: I see there is a 'integration'
directory in the source code:
<https://github.com/apache/pulsar/tree/master/tests/integration/src/test/java/org/apache/pulsar/tests/integration>
----
2019-03-18 09:56:25 UTC - Jianfeng Qiao: These are all the test cases we run?
----
2019-03-18 10:05:11 UTC - Sijie Guo: @Jianfeng Qiao
unit tests and integration tests are all the tests running for pulsar for every
commit merged to pulsar. this guarantees pulsar to have a high quality master.
some of the companies which contribute to pulsar might maintain their own set
of integration tests to have a broader coverage. they might also do chaos
testing, performance testing and all other kind of tests which are not able to
run in ASF jenkins environment. ideally these tests should be contributed and
run as part of ASF infrastructure, however due to the instability of ASF
jenkins infrastructure, it might be making sense for those companies who have
better CI or CD environments for keeping their own tests running at their
infrastructure.
----
2019-03-18 11:04:03 UTC - Jianfeng Qiao: @Sijie Guo Got it, thanks for the
explanation.
----
2019-03-19 04:11:24 UTC - Jianfeng Qiao: I'm going through the APIs of pulsar
client, I find two interfaces that I haven't figured out what's the use case
for them and how to use them.
MessageBuilder<T> setProperty(String name,
String value)
MessageBuilder<T> setProperties(Map<String,String> properties)
@Sijie Guo Do you know it?
----
2019-03-19 04:39:03 UTC - Ali Ahmed: @Jianfeng Qiao properties are similar to
tags
----
2019-03-19 05:03:03 UTC - Jianfeng Qiao: I only see the interfaces to set them,
but not see there is any interface to get them?
----
2019-03-19 05:04:29 UTC - Jianfeng Qiao: Also who will get them?
----
2019-03-19 07:51:45 UTC - Sijie Guo: @Jianfeng Qiao you can attach any
properties to your messages. these properties will be stored as part of
message. the consumer will receive the message and its properties.
----