Hi,

in the Spout/Bolt open()/prepare() method, a Map containing the current
configuration is given. This Map is of type
clojure.lang.PersistentHashMap and calling .put(...) raises an
UnsupportedOperationException.

I was wondering, why a persistent map is used? I could image, that
system defined values should not be modified. But adding new key/value
pairs is not allowed either (and would be very helpful in my case).

Right now, I simply copy all values into a new HashMap object and add my
own values to this new HashMap. But this is an annoying workaround I
have to do each time...

Would it make sense, the change the type of the system provided Map (or
modify it's behavior to all for adding new key/value pairs)?


-Matthias




Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to