Projects tigase _server server-core Issues #1424
PEPPlugin: what is the proper format of 'pubsub-component' config (#1424)
Open
Unknown opened 4 years ago

I have a problem with…

For the PEPPlugin to work it requires to pass 'pubsub-component' config

https://github.com/tigase/tigase-server/blob/master/src/main/java/tigase/xmpp/impl/PepPlugin.java#L58

It's clear it should look something like this:

sess-man/plugins-conf/pep-simple/pubsub-component=...

The question is what's the proper format of value?

The pubs component is configured like this:

--comp-name-4 = pubsub
--comp-class-4 = tigase.pubsub.PubSubComponent

Details (please complete the following information):

  • Tigase version: 7.1.5
  • JVM flavour and version: OpenJDK8
  • Operating system/distribution/version: Linux Ubuntu 20.04
Unknown commented 4 years ago

You should not need to configure explicitly PubSub component address. However, proper PEP plugin is located in the tigase-pubsub repository.

Btw. you are linking to the latest sources and I would recommend using latest Tigase release: 8.1.0.

Unknown commented 4 years ago

Thanks @woj-tek

Is this one obsolete https://github.com/tigase/tigase-server/blob/master/src/main/java/tigase/xmpp/impl/PepPlugin.java#L58 ?

I see it requires to provide the 'pubsub-component' config. Can you just let me know what was the required format in past?

Unknown commented 4 years ago

Mentioned PEP plugin is old and not used by default (most likely will be removed at some point). If you are using PubSub (as you should for PEP), you should use PepPlugin from PubSub which @woj-tek mentioned.

Unknown commented 4 years ago

I will definitely check the new PepPlugin from PubSub

The thing with an old one is that some time ago I adopted it in my project successful. And now I want to enable it again, but forgot about 'pubsub-component' config format.

Unknown commented 4 years ago

There shouldn't be much difference between using those two plugins functionality wise.

As for the format - it should be just pubsub component jid, so most likely: pubsub.<vhost>

issue 1 of 1
Type
Question
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#1424
Please wait...
Page is in error, reload to recover