A pubsub implementation that conforms to the PubSubHubbub protocol with extensions for authentication and security. PubSubHubbub, though originally designed for Atom and RSS feeds, can be applied to any type of data to push notifications over HTTP, eliminating inefficient polling for changes.
The normal build uses Apache Ant and Apache Ivy to resolve dependencies. The following ant tasks are available:
init-ivy
- Download and install ivy, if necessarycompile
- Compiles the sourcedist
- Resolves dependencies, compiles the source, and creates a jar in dist/lib
. This is the default task.full-dist
- Resolves dependencies, compiles the source, creates a jar in dist/lib
, and copies dependencies to dist/extlib
clean
- Removes all build files and jars.javadoc
- Generates javadoc.cleandoc
- Removes generated javadoc.H2 is an embedded database that can store tables in-memory or on-disk.
ant init-ivy
ant full-dist
cp config/example.h2.properties config/local.properties
endpoint.acp.connection.pubsub.connectionString
property with
a local directory.bin/start
http://localhost:8086/health
bin/test
http://localhost:8086/metrics
.bin/stop
ant init-ivy
ant full-dist
pubsub
database.mysql -u [your user] -p -h [your host] pubsub < config/mysql_pubsub_hub.sql
cp config/example.mysql.properties config/local.properties
config/local.properties
to change pubsub.user
, pubsub.password
and pubsub.connectionString
for your database.
You may also want to change any usernames/passwords from their defaults at this time.bin/start
http://localhost:8086/health
bin/test
http://localhost:8086/metrics
.bin/stop
Copyright 2010, 2016 Attribyte, LLC
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.