Questions tagged [stream-framework]

Stream Framework is a python library which allows you to build activity streams & newsfeeds using Cassandra and/or Redis.

Stream Framework is a python library which allows you to build activity streams & newsfeeds using Cassandra and/or Redis. If you're not using python have a look at Stream, which supports Node, Ruby, PHP, Python, Go, Scala, Java and REST.

Resources

Documentation
Bug Tracker
Code
Travis CI

10 questions
6
votes
4 answers

/bin/sh: 1: poetry: not found

i'm trying to build a docker file with docker-compose up but i get error: /bin/sh: 1: poetry: not found ERROR: Service 'web' failed to build: The command '/bin/sh -c poetry install && bundler install' returned a non-zero code: 127 here it is my…
mohsen74x
  • 91
  • 1
  • 1
  • 3
6
votes
0 answers

Django Activity Stream vs Feedly

We are building django based REST APIs, where one of the features is News feed. After some googling I could see the following 2 options: Django Activity Stream (will have to use Redis on top of this) Stream Framework (previously called…
Saurabh Verma
  • 6,328
  • 12
  • 52
  • 84
3
votes
1 answer

How to call a Celery shared_task?

I'm trying to use stream_framework in my application (NOT Django) but I'm having a problem calling the stream_framework shared tasks. Celery seems to find the tasks: -------------- celery@M3800 v3.1.25 (Cipater) ---- **** ----- --- * *** * --…
QLands
  • 2,424
  • 5
  • 30
  • 50
2
votes
2 answers

Lost activities in Aggregated Feed

first of all a little of what I am trying to achieve. I have built a django wrapper on top of stream-framework library. There are 2 feed-classes - FlatFeed(RedisFeed) and AggregatedFeed(RedisAggregatedFeed). Obviously, these are using Redis to store…
Anunaya Srivastava
  • 175
  • 1
  • 2
  • 12
1
vote
1 answer

Error with Stream Framework

I'm trying to setup a basic feed: from stream_framework.feeds.redis import RedisFeed class PinFeed(RedisFeed): key_format = 'feed:normal:%(user_id)s' class UserPinFeed(PinFeed): key_format = 'feed:user:%(user_id)s' feed =…
Rob
  • 3,333
  • 5
  • 28
  • 71
1
vote
1 answer

Cassandra "Unable to connect to any servers" via Django, while cqlsh works

I have Cassandra 3.x on my Linux machine. I try to connect to it with https://github.com/tschellenbach/Stream-Framework from stream_framework.feeds.cassandra import CassandraFeed I can connect to Cassandra from command line cqlsh' and usingDBeaver…
Mike
  • 465
  • 5
  • 14
1
vote
1 answer

Stream-Framework Issue Regarding Notification Feeds and Cassandra

To anyone who uses the python stream-framework package, I would like to know your thoughts on using Cassandra. I am currently trying to build a notification feed based on Cassandra, that supports unread counts, and marking the whole feed as read. IT…
mrquintopolous
  • 157
  • 3
  • 9
1
vote
1 answer

Pickle serialization order mystery

Update 6/8/17 Though 3 years passed, my PR is still pending as a temporary solution by enforcing the output order. Stream-Framework might reconsider its design on using content as key for notifications. GitHub Issue #153 references…
hurturk
  • 5,214
  • 24
  • 41
0
votes
2 answers

Create activities for an user with Stream-Framework

I'm trying to setup stream-framework the one here not the newer getstream. I've setup the Redis server and the environment properly, the issue I'm facing is in creating the activities for a user. I've been trying to create activities, following the…
Saad
  • 3,340
  • 2
  • 10
  • 32
0
votes
1 answer

Is it possible/easy to use postgreSQL instead of Redis with Stream-Framework?

How can I tweak stream-framework to make it use postgreSQL instead of Redis
medchedli
  • 65
  • 1
  • 9