Skip to content
Snippets Groups Projects
Commit 519bc0fc authored by Benedikt von St. Vieth's avatar Benedikt von St. Vieth
Browse files

improve README, rename messagebus_middleware to messagebus.

parent b5fecdc9
No related branches found
No related tags found
No related merge requests found
This project holds code for a integration of OpenStack Swift (Proxy Server) with Kafka.
On Swift requests, messages are send to Kafka. From there, information can be collected by several different persistence layers.
Maybe one wants to have metadata-search functionalities or build namespaces more complex then the flat Swift namespace.
\ No newline at end of file
# swift-kafka
This project holds code for a integration of [OpenStack Swift]
(https://wiki.openstack.org/wiki/Swift) (Proxy Server)
with [Apache Kafka](https://kafka.apache.org/).
On Swift requests, messages are send to Kafka. From there, information can be
collected by several different persistency layers. Maybe one wants to have
metadata-search functionalities or build namespaces more complex then the flat
Swift namespace.
# Docker:
[Dockerfile](docker/swift/Dockerfile) and [docker/swift](docker/swift) are based on [this
repository](https://github.com/MorrisJobke/docker-swift-onlyone), extended
with our proxy middleware.
In general, Swift is available using:
`swift -A http://127.0.0.1:12345/auth/v1.0 -U test:tester -K testing stat`
# Installation:
You need to install `python setup.py install` the code of this repository.
Afterwards the Swift proxy needs the filter configuration shown at [proxy-server.conf](proxy-server.conf).
\ No newline at end of file
......@@ -33,7 +33,8 @@ class MessagebusMiddleware(object):
:return:
"""
self.start_response = start_response
request = Request(env)
#request = Request(env)
self.logger.info("Messagebus Middleware")
return self.app(env, start_response)
......
......@@ -3,7 +3,7 @@
pipeline = healthcheck authtoken keystoneauth messagebus proxy-server
[filter:messagebus]
use = egg:messagebus#messagebus_middleware
use = egg:messagebus#messagebus
url =
username =
password =
\ No newline at end of file
......@@ -29,7 +29,7 @@ setup(
entry_points={
'paste.filter_factory': ['messagebus = '
'messagebus.'
'messagebus_middleware:'
'messagebus:'
'filter_factory'],
}
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment